Skip to content

Commit

Permalink
COMP: Docker build suddenly stopped working, needs classic solver
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Jun 10, 2024
1 parent c4f0e32 commit 839496b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ ENV PATH=/opt/conda/bin:$PATH

# install cmake binary using conda for multi-arch support
# apt install fails because libssl1.0.0 is not available for newer Debian
RUN conda update -c defaults conda
RUN conda install -c conda-forge cmake
RUN conda update -c defaults conda && \
conda install -c conda-forge cmake && \
conda config --set solver classic

WORKDIR /usr/local/src
COPY environment.yml .
Expand All @@ -42,4 +43,4 @@ RUN bash tests/run_tests.sh
# optimize layers
FROM debian:bookworm-slim
COPY --from=builder /opt/conda /opt/conda
ENV PATH=/opt/conda/bin:$PATH
ENV PATH=/opt/conda/bin:$PATH

0 comments on commit 839496b

Please sign in to comment.