Skip to content

Commit

Permalink
fix apt installs in conda stage, add combinations to matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
bquan0 committed Nov 22, 2023
1 parent d001785 commit 18629fd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
hdf5: ['']
hdf5_build_arg: ['NO']
include:
- hdf5: _hdf5
- pkg_mgr: 'apt'
hdf5: _hdf5
hdf5_build_arg: hdf5-1_12_0
- pkg_mgr: 'conda'
hdf5: _hdf5
hdf5_build_arg: hdf5-1_12_0
fail-fast: false

Expand Down Expand Up @@ -75,7 +79,12 @@ jobs:
hdf5: ['']
hdf5_build_arg: ['NO']
include:
- pyne_test_base: dagmc
- pkg_mgr: 'apt'
pyne_test_base: dagmc
hdf5: _hdf5
hdf5_build_arg: hdf5-1_12_0
- pkg_mgr: 'conda'
pyne_test_base: dagmc
hdf5: _hdf5
hdf5_build_arg: hdf5-1_12_0
fail-fast: false
Expand Down Expand Up @@ -121,7 +130,11 @@ jobs:
stage: [base_python, moab, dagmc, openmc]
hdf5: ['']
include:
- stage: dagmc
- pkg_mgr: 'apt'
stage: dagmc
hdf5: _hdf5
- pkg_mgr: 'apt'
stage: dagmc
hdf5: _hdf5

name: "ghcr.io/${{ github.repository_owner }}/pyne_ubuntu_22.04_py3_${{ matrix.pkg_mgr }}${{ matrix.hdf5 }}/${{ matrix.stage }}: latest -> stable"
Expand Down
4 changes: 2 additions & 2 deletions docker/ubuntu_22.04-dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ RUN apt-get update \
progress

FROM common_base AS conda_deps
RUN apt install -y \
RUN apt-get install -y --fix-missing \
wget \
bzip2 \
ca-certificates \
&& apt clean -y all
&& apt-get clean -y

RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
Expand Down

0 comments on commit 18629fd

Please sign in to comment.