Skip to content

Commit

Permalink
Tag mini image seperately
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Aug 15, 2024
1 parent c5ce5f1 commit f72a9f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion Dockerfile-mini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f72a9f9

Please sign in to comment.