|
@ -3,6 +3,10 @@ |
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
|
|
pushd "${DIR}/.." |
|
|
pushd "${DIR}/.." |
|
|
|
|
|
|
|
|
|
|
|
echo "Writing local testing build.info" |
|
|
|
|
|
./scripts/get_build.sh > build.info |
|
|
|
|
|
echo "DOCKER_DEVELOPMENT_"$(cat build.info) > build.info |
|
|
|
|
|
|
|
|
CONTAINER_NAME=baphomet-dev |
|
|
CONTAINER_NAME=baphomet-dev |
|
|
IMAGE_NAME=baphomet-js |
|
|
IMAGE_NAME=baphomet-js |
|
|
IMAGE_TAG=dev |
|
|
IMAGE_TAG=dev |
|
@ -10,6 +14,8 @@ IMAGE_BUILD_DIR=. |
|
|
|
|
|
|
|
|
docker build -t ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_BUILD_DIR} |
|
|
docker build -t ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_BUILD_DIR} |
|
|
|
|
|
|
|
|
|
|
|
rm build.info |
|
|
|
|
|
|
|
|
docker rm ${CONTAINER_NAME} |
|
|
docker rm ${CONTAINER_NAME} |
|
|
|
|
|
|
|
|
docker run -it \ |
|
|
docker run -it \ |
|
|