Skip to content

Commit

Permalink
Dockerfile.dependency: env-activated 'spack buildcache push' needs no…
Browse files Browse the repository at this point in the history
… spec argument (#168)
  • Loading branch information
CodeGat authored Jun 21, 2024
1 parent 25e143f commit afd26e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/Dockerfile.dependency
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ RUN chmod +x setup-spack-envs.sh \
&& ./setup-spack-envs.sh "${PACKAGE_NAMES}"

# Push any uncached binaries to buildcache
RUN spack -d buildcache push --allow-root s3_buildcache $(spack find --json | jq --raw-output .[].name)
RUN spack -d buildcache push --allow-root s3_buildcache


# NOTE: We do not use an ENTRYPOINT as would be expected by a spack-based image (i.e. to call
# $SPACK_ROOT/share/spack/docker/entrypoint.bash) because GitHub Actions overrides the Dockerfile-defined
Expand Down

0 comments on commit afd26e5

Please sign in to comment.