From 9963f4181f0f8626db951db7ea984636d06a5a75 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 26 Sep 2018 18:32:18 +0000 Subject: [PATCH] Update devel server build rules for new layout --- Dockerfile.moth-devel | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.moth-devel b/Dockerfile.moth-devel index 8058a5b..ba6a4d8 100644 --- a/Dockerfile.moth-devel +++ b/Dockerfile.moth-devel @@ -7,4 +7,4 @@ COPY . /moth/ COPY example-puzzles /puzzles/ WORKDIR /moth/ -ENTRYPOINT ["python3", "/moth/tools/devel-server.py", "--bind", ":8080", "--puzzles", "/puzzles"] +ENTRYPOINT ["python3", "/moth/devel/devel-server.py", "--bind", ":8080", "--puzzles", "/puzzles"] diff --git a/build.sh b/build.sh index 12792c2..d0cec51 100755 --- a/build.sh +++ b/build.sh @@ -6,6 +6,6 @@ version=$(date +%Y%m%d%H%M) for img in moth moth-devel; do echo "==== $img" - docker build --build-arg http_proxy=$http_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img . + sudo docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img . [ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img done