Browse Source

Adding dynamic build.info to development docker

develop
Drew Short 5 years ago
parent
commit
de0978575b
  1. 6
      scripts/run_development_docker.sh

6
scripts/run_development_docker.sh

@ -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 \

Loading…
Cancel
Save