mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-17 20:54:21 +00:00
15 lines
350 B
Bash
Executable File
15 lines
350 B
Bash
Executable File
# Run image to create container and attach to it.
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
set -x
|
|
cd "${SCRIPT_DIR}/../../.."
|
|
project_dir="${PWD}"
|
|
|
|
docker run \
|
|
--interactive \
|
|
--mount "type=bind,src=${project_dir},dst=/data,readonly=true" \
|
|
--name="php54" \
|
|
--rm \
|
|
--tty \
|
|
"php-curl-class/php54" /bin/bash
|