diff options
author | Omar Padron <omar.padron@kitware.com> | 2018-12-20 14:17:46 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-12-20 11:17:46 -0800 |
commit | 60298787e48cb66da96d12a3845e225fd09e88bb (patch) | |
tree | 59ca9b97ad8ce9a28aad34b9609198d274693140 /share/spack/docker | |
parent | 56cb691fccb8d6ecdb583c1279f4ee57e9512884 (diff) | |
download | spack-60298787e48cb66da96d12a3845e225fd09e88bb.tar.gz spack-60298787e48cb66da96d12a3845e225fd09e88bb.tar.bz2 spack-60298787e48cb66da96d12a3845e225fd09e88bb.tar.xz spack-60298787e48cb66da96d12a3845e225fd09e88bb.zip |
Fix docker builds (#9805)
* move docker test logic to share/spack/qa
* update Dockerfile for archlinux
Diffstat (limited to 'share/spack/docker')
-rw-r--r-- | share/spack/docker/Dockerfile | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/share/spack/docker/Dockerfile b/share/spack/docker/Dockerfile index 0a4eebe183..7f23b25c95 100644 --- a/share/spack/docker/Dockerfile +++ b/share/spack/docker/Dockerfile @@ -32,15 +32,27 @@ RUN pacman -Sy --noconfirm \ sudo tcl \ && echo 'nobody ALL=(ALL) NOPASSWD: ALL' > \ /etc/sudoers.d/nobody-sudo \ - && sudo -u nobody git clone --depth 1 \ - https://aur.archlinux.org/lua-posix.git /tmp/lua-posix \ - && sudo -u nobody git clone --depth 1 \ - https://aur.archlinux.org/lmod.git /tmp/lmod \ + && sudo -u nobody git clone \ + 'https://aur.archlinux.org/lua-std-_debug.git' \ + '/tmp/lua-std-_debug' \ + && sudo -u nobody git clone \ + 'https://aur.archlinux.org/lua-std-normalize.git' \ + '/tmp/lua-std-normalize' \ + && sudo -u nobody git clone \ + 'https://aur.archlinux.org/lua-posix.git' \ + '/tmp/lua-posix' \ + && ( cd /tmp/lua-std-_debug \ + && sudo -u nobody makepkg -si --asdeps --noconfirm ) \ + && ( cd /tmp/lua-std-normalize \ + && sudo -u nobody makepkg -si --asdeps --noconfirm ) \ && ( cd /tmp/lua-posix \ - && sudo -u nobody makepkg -si --asdeps --noconfirm ) \ + && sudo -u nobody makepkg -si --asdeps --noconfirm ) \ + && sudo -u nobody git clone \ + 'https://aur.archlinux.org/lmod.git' '/tmp/lmod' \ && ( cd /tmp/lmod \ - && sudo -u nobody makepkg -si --noconfirm ) \ - && rm -rf /tmp/lua-posix /tmp/lmod /etc/sudoers.d/nobody-sudo + && sudo -u nobody makepkg -si --noconfirm ) \ + && rm -rf /tmp/lua-std-_debug /tmp/lua-std-normalize \ + /tmp/lmod /etc/sudoers.d/nobody-sudo MASK [[ $DISTRO =~ (centos|rhel.*) ]] RUN yum update -y |