diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index cfb860489a2d428e0f682dad86be30f561f2016c..12673977e305c0ab27b38dfa145b8c19bc4209a5 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -139,6 +139,7 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror                   \
 ## Update the S3 build cache (without local cache mount)
 ARG S3RW_ACCESS_KEY=""
 ARG S3RW_SECRET_KEY=""
+ADD aws_config /root/.aws/config
 RUN cd /opt/spack-environment                                           \
  && spack env activate .                                                \
  && if [ -n "${S3RW_ACCESS_KEY}" ] ; then                               \