Skip to content
Snippets Groups Projects
Commit f9abd3ff authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: COPY --from=spack-environment .

parent d2742e1e
No related branches found
No related tags found
1 merge request!619feat: set named build-context to spack-environment
This commit is part of merge request !619. Comments created here will be created in the context of that merge request.
......@@ -101,7 +101,7 @@ RUN git clone https://github.com/${EICSPACK_ORGREPO}.git ${EICSPACK_ROOT} \
&& spack repo add --scope site "${EICSPACK_ROOT}"
## Setup our custom environment (secret mount for write-enabled mirror)
COPY --from=spack spack-environment/ /opt/spack-environment/
COPY --from=spack-environment . /opt/spack-environment/
ARG ENV=dev
ENV SPACK_ENV=/opt/spack-environment/${ENV}
RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment