Skip to content

Commit

Permalink
#32: try a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Jul 22, 2024
1 parent 5876390 commit 28e06be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/docker/make-base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ RUN apt-get update -y -q && \
# ENV export CXX="$(which ${CXX})"

# If ENV export ... not correctly passed to the ENV of the dependent image, try
VOLUME /volume1
RUN mkdir /volume1 && \
echo 'CC="$(which ${CC})"' >> /volume1/.env && \
echo 'CXX="$(which ${CXX})"' >> /volume1/.env && \
echo 'VTK_DIR="$VTK_DIR"' >> /volume1/.env && \
RUN mkdir /vol1 && \
touch /vol1/.env && \
echo 'CC="$(which ${CC})"' >> /vol1/.env && \
echo 'CXX="$(which ${CXX})"' >> /vol1/.env && \
echo 'VTK_DIR="$VTK_DIR"' >> /vol1/.env && \
# automatically export all variables
set -a && \
source .env && \
Expand Down

0 comments on commit 28e06be

Please sign in to comment.