diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile index 385096846ad1cddcc32101be5fe2846616f07e59..5275dab1d4ed21a6432f9104a8247df520f703d2 100644 --- a/containers/jug/dev.Dockerfile +++ b/containers/jug/dev.Dockerfile @@ -8,7 +8,7 @@ ARG INTERNAL_TAG="testing" ## ======================================================================================== FROM ${DOCKER_REGISTRY}debian_base:${INTERNAL_TAG} as builder -## instal some extra spack dependencies +## install some extra spack dependencies RUN --mount=type=cache,target=/var/cache/apt \ rm -f /etc/apt/apt.conf.d/docker-clean \ && apt-get -yqq update \ @@ -32,7 +32,7 @@ RUN echo "Part 1: regular spack install (as in containerize)" \ git cherry-pick -n $SPACK_CHERRYPICKS ; \ fi \ && cd - \ - && mkdir -p $SPACK_ROOT/opt/spack \ + && mkdir -p $SPACK_ROOT \ && cp -r /tmp/spack-staging/bin $SPACK_ROOT/bin \ && cp -r /tmp/spack-staging/etc $SPACK_ROOT/etc \ && cp -r /tmp/spack-staging/lib $SPACK_ROOT/lib \ @@ -171,7 +171,7 @@ FROM builder as staging RUN cd /opt/spack-environment && spack env activate . && spack gc -y # Strip all the binaries # This reduces the image by factor of x2, so worth the effort -# note that we do not strip python libraries as can cause issues in some cases +# note that we do not strip python libraries as it can cause issues in some cases RUN find -L /usr/local/* \ -type d -name site-packages -prune -false -o \ -type f -not -name "zdll.lib" -not -name libtensorflow-lite.a \