diff --git a/.github/docker-compose.yml b/.github/docker-compose.yml index 0eef989..c8c9024 100644 --- a/.github/docker-compose.yml +++ b/.github/docker-compose.yml @@ -9,8 +9,7 @@ services: ENV OMPI_VERSION=$${OMPI_VERSION} CMD cp /configs/spack.yaml . && \ spack -e . add openmpi@$${OMPI_VERSION} && \ - spack -e . containerize >/configs/spack.Dockerfile && \ - sed -i -e 's/spack install/spack external find --all \&\& spack -d install/;' /configs/spack.Dockerfile + spack -e . containerize >/configs/spack.Dockerfile args: OMPI_VERSION: main no_cache: true @@ -19,7 +18,7 @@ services: - .github/:/configs env: - image: "ghcr.io/sandialabs/fenix/env" + image: "ghcr.io/sandialabs/fenix/env:main" build: # Generated by running the bootstrap image dockerfile: .github/spack.Dockerfile @@ -28,7 +27,7 @@ services: image: "fenix" build: dockerfile_inline: | - ARG OMPI_VERSION + ARG OMPI_VERSION main FROM ghcr.io/sandialabs/fenix/env:$${OMPI_VERSION} COPY . /fenix RUN . /opt/spack-environment/activate.sh && \ diff --git a/.github/spack.yaml b/.github/spack.yaml index aa509da..c5d3611 100644 --- a/.github/spack.yaml +++ b/.github/spack.yaml @@ -16,20 +16,15 @@ spack: build: - build-essential - autotools-dev - - libevent-dev - pkg-config - python3 - m4 - autoconf - automake - - libtool - flex - git - zlib1g-dev - - openssh-server - - openssl - libperl-dev - - pkg-config - numactl final: - build-essential