From 38405e9de4ff6c86b23e6e748c5526faf83aaee0 Mon Sep 17 00:00:00 2001 From: MintoDA1 <51412913+MintoDA1@users.noreply.github.com> Date: Sat, 12 Aug 2023 14:39:11 -0400 Subject: [PATCH] Fixed Dockerfile to work with GNU compilers and export a wheel file --- Dockerfile.gnu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.gnu b/Dockerfile.gnu index 4337737dd..b8becbe6d 100644 --- a/Dockerfile.gnu +++ b/Dockerfile.gnu @@ -42,6 +42,8 @@ COPY --from=build-deps ${BUILD_DIR}/lib/ /usr/local/lib/ COPY --from=build-deps ${BUILD_DIR}/include/ /usr/local/include/ COPY --from=build-deps ${BUILD_DIR}/bin/ /usr/local/bin/ COPY --from=build-deps ${BUILD_DIR}/share/ /usr/local/share/ +COPY --from=build-deps /opt/conda/envs/ /opt/conda/envs/ +COPY --from=build-deps /root/.bashrc /root/ # Compile the Swiftest project COPY ./buildscripts/build_swiftest.sh ./buildscripts/ @@ -55,7 +57,7 @@ COPY ./pyproject.toml ./ COPY ./requirements.txt ./ COPY ./version.txt ./ ENV PIP_ROOT_USER_ACTION=ignore -RUN /bin/bash -lic "${SCRIPT_DIR}/build_swiftest.sh GNU-Linux" +RUN /bin/bash -lic "${SCRIPT_DIR}/build_swiftest.sh GNU-Linux /usr/local" #Export the generated wheel file to the host machine FROM scratch as export-wheel