...
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 20 May 2022 18:50:40 +0200
changeset 66 b90bcdaaba0e
parent 65 a5970360c00b
child 67 d06ee9c3f780
...
Dockerfile
build_in_docker.sh
--- a/Dockerfile	Fri May 20 18:41:18 2022 +0200
+++ b/Dockerfile	Fri May 20 18:50:40 2022 +0200
@@ -22,7 +22,7 @@
 # easy to remember 'build' alias to invoke main makefile
 ARG OWNDIRBASENAME=beremiz_public_dist
 ENV OWNDIRBASENAME ${OWNDIRBASENAME}
-RUN /bin/echo -e '#!/bin/bash\necho XXXX $$*\nmake -f /home/'$UNAME'/src/'$OWNDIRBASENAME'/Makefile $$*' > /usr/local/bin/build
+RUN /bin/echo -e '#!/bin/bash\necho XXXX $*\nmake -f /home/'$UNAME'/src/'$OWNDIRBASENAME'/Makefile $*' > /usr/local/bin/build
 RUN chmod +x /usr/local/bin/build
 
 USER $UNAME
--- a/build_in_docker.sh	Fri May 20 18:41:18 2022 +0200
+++ b/build_in_docker.sh	Fri May 20 18:50:40 2022 +0200
@@ -4,6 +4,6 @@
 
 docker start $CONTAINER 
 echo exec docker with $*
-docker exec $CONTAINER bash -c build $*
+docker exec $CONTAINER bash -c "build $*"
 docker stop $CONTAINER