From de0978575bed09879400847256ef41b91bd5910f Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 7 Jan 2020 13:34:16 -0600 Subject: [PATCH] Adding dynamic build.info to development docker --- scripts/run_development_docker.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/run_development_docker.sh b/scripts/run_development_docker.sh index 3ca56c6..1606773 100644 --- a/scripts/run_development_docker.sh +++ b/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 \