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

Commit

Permalink
More updates to Dockerfile to get it closer to being able to do a com…
Browse files Browse the repository at this point in the history
…plete build
  • Loading branch information
daminton committed Aug 11, 2023
1 parent 82c34d6 commit b73911d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ RUN if [ "$BUILDIMAGE" = "intel/oneapi-hpckit:2023.1.0-devel-ubuntu20.04" ]; the
echo "conda activate swiftest-build-env" >> ~/.bashrc && \
/bin/bash -lic "${SCRIPT_DIR}/build_dependencies.sh GNU"; \
fi

# Compile the Swiftest project
COPY ./cmake/ ./cmake/
COPY ./src/ ./src/
Expand All @@ -44,4 +43,8 @@ COPY ./environment.yml ./
COPY ./pyproject.toml ./
COPY ./requirements.txt ./
COPY ./version.txt ./
ENV CPATH="/swiftest/lib"
ENV LD_LIBRARY_PATH="${CPATH}/lib:${LD_LIBRARY_PATH}"
ENV LIBS="-lhdf5_hl -lhdf5 -lz"
ENV CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF"
RUN pip install .

0 comments on commit b73911d

Please sign in to comment.