fusion-energy / openmc-dagmc-wrapper

A Python package that extends OpenMC base classes to provide convenience features and standardized tallies when simulating DAGMC geometry with OpenMC.
https://openmc-dagmc-wrapper.readthedocs.io/
MIT License
7 stars 2 forks source link

Updating base docker image #37

Open shimwell opened 3 years ago

shimwell commented 3 years ago

The newest image with python3.8 as default is currently used. However we could update to the newer miniconda image and create a python3.8 environment in the following way

FROM continuumio/miniconda3:4.10.3 as dependencies

# base image is python 3.9 but python 3.8 is needed for Cubit
# this creates and activates a new python 3.8 conda enviroment
RUN conda create --name py38 python=3.8
RUN echo "conda activate py38" >> ~/.bashrc
SHELL ["/bin/bash", "--login", "-c"]