Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
spack
spack-tutorial-container
Commits
fae46e0d
Commit
fae46e0d
authored
Jul 20, 2020
by
Scott Wittenburg
Browse files
chmod -R /mirror in the same layer where it is created
parent
d24d83d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
fae46e0d
...
...
@@ -38,15 +38,13 @@ RUN apt-get update -y && \
apt-get autoremove
--purge
&&
\
apt-get clean
RUN
mkdir
-p
/mirror/build_cache
&&
\
aws s3
sync
${
REMOTE_BUILDCACHE_URL
}
/mirror
COPY
/public.key /mirror/public.key
COPY
/packages.yaml /etc/spack/packages.yaml
COPY
/tutorial-test.sh /tutorial/.test/tutorial-test.sh
### TODO: Find another way to set perms without increasing the image download size
RUN
useradd
-ms
/bin/bash spack
&&
\
mkdir
-p
/mirror/build_cache
&&
\
aws s3
sync
${
REMOTE_BUILDCACHE_URL
}
/mirror
&&
\
chmod
-R
go+r /mirror
&&
\
chmod
-R
go+r /etc/spack
&&
\
chmod
go+rx /tutorial/.test/tutorial-test.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment