From f72a9f9443cabf3d1ee926e36ca361d6ee9af45e Mon Sep 17 00:00:00 2001 From: Holden Karau Date: Wed, 14 Aug 2024 23:56:12 -0700 Subject: [PATCH] Tag mini image seperately --- Dockerfile | 1 - Dockerfile-mini | 1 - build_container.sh | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b610f3e..7fc22af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,6 @@ RUN echo "export SPARK_HOME=/high-performance-spark-examples/spark-3.5.2-bin-had RUN chown -R dev ~dev USER dev # Kernels are installed in user so we need to run as the user -RUN ./coursier launch almond --scala 2.13.8 -- --install RUN ./almond --install --log info --metabrowse --id scala2.13 --display-name "Scala 2.13" USER root diff --git a/Dockerfile-mini b/Dockerfile-mini index e27c84a..54abfbb 100644 --- a/Dockerfile-mini +++ b/Dockerfile-mini @@ -44,7 +44,6 @@ RUN echo "export SPARK_HOME=/high-performance-spark-examples/spark-3.5.2-bin-had RUN chown -R dev ~dev USER dev # Kernels are installed in user so we need to run as the user -RUN ./coursier launch almond --scala 2.13.8 -- --install RUN ./almond --install --log info --metabrowse --id scala2.13 --display-name "Scala 2.13" USER root diff --git a/build_container.sh b/build_container.sh index 0aa0e35..681fa6b 100755 --- a/build_container.sh +++ b/build_container.sh @@ -19,5 +19,5 @@ VERSION=${VERSION:-0.3} IMAGE=${IMAGE:-holdenk/hps:$VERSION} MINI_IMAGE=${MINI_IMAGE:-holdenk/hps-mini:$VERSION} docker buildx build --platform=linux/amd64,linux/arm64 -t "${IMAGE}" . --push -docker buildx build --platform=linux/amd64,linux/arm64 -t "${IMAGE}" -f Dockerfile-mini . --push +docker buildx build --platform=linux/amd64,linux/arm64 -t "${MINI_IMAGE}" -f Dockerfile-mini . --push #docker buildx build --platform=linux/amd64 -t "${IMAGE}" . --push