Updated build script
This commit is contained in:
@@ -26,6 +26,7 @@ function build_image
|
||||
-t betalupi/jupyter-inter-(math $img_idx + 1)
|
||||
|
||||
|
||||
date "+Finished at %Y-%m-%d %T"
|
||||
if $remove_previous
|
||||
printf "Done, cleaning up.\n\n"
|
||||
sleep 1
|
||||
@@ -37,7 +38,8 @@ function build_image
|
||||
set img_idx (math $img_idx + 1)
|
||||
end
|
||||
|
||||
|
||||
date "+Build started at %Y-%m-%d %T"
|
||||
echo ""
|
||||
|
||||
# Base image MUST be built first
|
||||
printf "Building base image...\n"
|
||||
@@ -48,15 +50,17 @@ docker build \
|
||||
printf "Done. \n\n"
|
||||
|
||||
|
||||
|
||||
|
||||
build_image false octave
|
||||
build_image false r
|
||||
build_image false sage
|
||||
#build_image false sage (BROKEN)
|
||||
#build_image false selenium (BROKEN)
|
||||
|
||||
build_image false plugins
|
||||
build_image pymodules
|
||||
build_image false pymodules
|
||||
|
||||
# Rename final image
|
||||
docker image tag betalupi/jupyter-inter-(math $img_idx) betalupi/jupyter
|
||||
docker image rm betalupi/jupyter-inter-(math $img_idx)
|
||||
docker image tag betalupi/jupyter-inter-(math $img_idx) git.betalupi.com/mark/jupyter
|
||||
docker image rm betalupi/jupyter-inter-(math $img_idx)
|
||||
|
||||
echo ""
|
||||
date "+Build finished at %Y-%m-%d %T"
|
||||
Reference in New Issue
Block a user