Skip to content

Commit

Permalink
Fix bug and ensure spack public buildcache keys are trusted.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 3, 2023
1 parent 5d148bc commit c2098fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk-projects/lambda-s3-trigger/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ RUN mkdir /opt/spack-environment \
&& echo ' view: /opt/views/view') > /opt/spack-environment/spack.yaml

# Install the software, remove unnecessary deps
RUN cd /opt/spack-environment && spack env activate . && spack install --fail-fast && spack gc -y
RUN cd /opt/spack-environment && spack env activate . && spack buildcache keys --install --trust && spack install --fail-fast && spack gc -y

# Strip all the binaries
RUN find -L /opt/views/view/* -type f -exec readlink -f '{}' \; | \
Expand Down

0 comments on commit c2098fa

Please sign in to comment.