Skip to content

Commit

Permalink
Updating docker file base to bookworm (#2890)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored Apr 7, 2024
1 parent 27bd315 commit 704cfbf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG compile_cores=1
ARG build_dagmc=off
ARG build_libmesh=off

FROM debian:bullseye-slim AS dependencies
FROM debian:bookworm-slim AS dependencies

ARG compile_cores
ARG build_dagmc
Expand Down Expand Up @@ -71,9 +71,13 @@ RUN apt-get update -y && \
apt-get install -y \
python3-pip python-is-python3 wget git build-essential cmake \
mpich libmpich-dev libhdf5-serial-dev libhdf5-mpich-dev \
libpng-dev && \
libpng-dev python3-venv && \
apt-get autoremove

# create virtual enviroment to avoid externally managed environment error
RUN python3 -m venv openmc_venv
ENV PATH=/openmc_venv/bin:$PATH

# Update system-provided pip
RUN pip install --upgrade pip

Expand Down

0 comments on commit 704cfbf

Please sign in to comment.