Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated package versions in Dockerfile #2946

Merged

Conversation

shimwell
Copy link
Member

@shimwell shimwell commented Apr 8, 2024

Description

I might have accidentally broken the dockerfile building for dagmc variants in PR #2890.

This PR fixes the dockerfile for dagmc building. This was achieved by updating dagmc which necessitated updating a few more versions, we now are very similar to the versions used in the dagmc docker image

sudo docker build -t openmc_dagmc --build-arg build_dagmc=on --build-arg compile_cores=4 --build-arg openmc_branch=develop .
[sudo] password for j: 
[+] Building 1.2s (13/13) FINISHED                                                    docker:default
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load build definition from Dockerfile                                            0.1s
 => => transferring dockerfile: 9.12kB                                                          0.0s
 => [internal] load metadata for docker.io/library/debian:bookworm-slim                         0.9s
 => [dependencies 1/7] FROM docker.io/library/debian:bookworm-slim@sha256:ccb33c3ac5b02588fc1d  0.0s
 => CACHED [dependencies 2/7] RUN apt-get update -y &&     apt-get upgrade -y &&     apt-get i  0.0s
 => CACHED [dependencies 3/7] RUN python3 -m venv openmc_venv                                   0.0s
 => CACHED [dependencies 4/7] RUN pip install --upgrade pip                                     0.0s
 => CACHED [dependencies 5/7] RUN cd /root     && git clone --single-branch --depth 1 https://  0.0s
 => CACHED [dependencies 6/7] RUN if [ "on" = "on" ]; then         apt-get -y install libeigen  0.0s
 => CACHED [dependencies 7/7] RUN if [ "off" = "on" ]; then         apt-get -y install m4 libn  0.0s
 => CACHED [build 1/1] RUN mkdir -p /root/OpenMC && cd /root/OpenMC     && git clone --shallow  0.0s
 => CACHED [release 1/1] RUN /root/OpenMC/openmc/tools/ci/download-xs.sh                        0.0s
 => exporting to image                                                                          0.0s
 => => exporting layers                                                                         0.0s
 => => writing image sha256:4578d1c420ad505ee4416e510530a6155cbccb4fed33009ecd0d184c2da36a9b    0.0s
 => => naming to docker.io/library/openmc_dagmc                                                 0.0s

Checklist

  • I have performed a self-review of my own code

Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@paulromano paulromano enabled auto-merge (squash) April 8, 2024 14:13
@paulromano paulromano merged commit fea90e0 into openmc-dev:develop Apr 8, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants