mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Updating docker file base to bookworm (#2890)
This commit is contained in:
parent
27bd315f0f
commit
704cfbf1af
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue