Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed Dockerfile to work with GNU compilers and export a wheel file
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 12, 2023
1 parent d5168fe commit 38405e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit 38405e9

Please sign in to comment.