summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlec Scott <alec@bcs.sh>2021-08-06 15:53:46 -0700
committerGitHub <noreply@github.com>2021-08-06 15:53:46 -0700
commitb92fa6bbf9a40629320e326d714b9ee3085394e4 (patch)
treeb964416e30e76ea0f024a8a7d21cf2cc10e265d8 /share
parent97993ac38afdd488fcd785717a658fa418f070d8 (diff)
downloadspack-b92fa6bbf9a40629320e326d714b9ee3085394e4.tar.gz
spack-b92fa6bbf9a40629320e326d714b9ee3085394e4.tar.bz2
spack-b92fa6bbf9a40629320e326d714b9ee3085394e4.tar.xz
spack-b92fa6bbf9a40629320e326d714b9ee3085394e4.zip
Add New Build Containers Workflow (#24257)
This pull request adds a new workflow to build and deploy Spack Docker containers from GitHub Actions. In comparison with our current system where we use Dockerhub's CI to build our Docker containers, this workflow will allow us to now build for multiple architectures and deploy to multiple registries. (At the moment x86_64 and Arm64 because ppc64le is throwing an error within archspec.) As currently set up, the PR will build all of the current containers (minus Centos6 because those yum repositories are no longer available?) as both x86_64 and Arm64 variants. The workflow is currently setup to build and deploy containers nightly from develop as well as on tagged releases. The workflow will also build, but NOT deploy containers on a pull request for the purposes of testing this PR. At the moment it is setup to deploy the built containers to GitHub's Container Registry although, support for also uploading to Dockerhub/Quay can be included easily if we decide to keep releasing on Dockerhub/want to begin releasing on Quay.
Diffstat (limited to 'share')
-rw-r--r--share/spack/docker/ubuntu-1804.dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/docker/ubuntu-1804.dockerfile b/share/spack/docker/ubuntu-1804.dockerfile
index 1ecef10652..9ba3bc6179 100644
--- a/share/spack/docker/ubuntu-1804.dockerfile
+++ b/share/spack/docker/ubuntu-1804.dockerfile
@@ -67,7 +67,7 @@ RUN [ -f ~/.profile ] \
# [WORKAROUND]
# https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
-RUN ln -s posix_c.so /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so
+RUN ln -s posix_c.so /usr/lib/$(uname -m)-linux-gnu/lua/5.2/posix.so
WORKDIR /root
SHELL ["docker-shell"]