Skip to content
Snippets Groups Projects
Commit 220534fc authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Update dev.Dockerfile: use AWS_CONFIG_FILE

parent 802c0ec2
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !436. Comments created here will be created in the context of that merge request.
...@@ -140,6 +140,7 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \ ...@@ -140,6 +140,7 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \
ARG S3RW_ACCESS_KEY="" ARG S3RW_ACCESS_KEY=""
ARG S3RW_SECRET_KEY="" ARG S3RW_SECRET_KEY=""
ADD aws_config /root/.aws/config ADD aws_config /root/.aws/config
ENV AWS_CONFIG_FILE=/root/.aws/config
RUN cd /opt/spack-environment \ RUN cd /opt/spack-environment \
&& spack env activate . \ && spack env activate . \
&& if [ -n "${S3RW_ACCESS_KEY}" ] ; then \ && if [ -n "${S3RW_ACCESS_KEY}" ] ; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment