|
|
@ -3,6 +3,10 @@ |
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
|
|
|
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 |
|
|
|
IMAGE_NAME=baphomet-js |
|
|
|
IMAGE_TAG=dev |
|
|
@ -10,6 +14,8 @@ IMAGE_BUILD_DIR=. |
|
|
|
|
|
|
|
docker build -t ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_BUILD_DIR} |
|
|
|
|
|
|
|
rm build.info |
|
|
|
|
|
|
|
docker rm ${CONTAINER_NAME} |
|
|
|
|
|
|
|
docker run -it \ |
|
|
|