Skip to content

Commit

Permalink
Add dependencies for pygeosx unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhan12 committed Mar 20, 2024
1 parent a8df7a8 commit df0250f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_build_tpls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
submodules: true
lfs: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
13 changes: 11 additions & 2 deletions docker/tpl-ubuntu-gcc.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ ARG SRC_DIR
COPY --from=tpl_toolchain $GEOSX_TPL_DIR $GEOSX_TPL_DIR

# Any tool specific to building GEOSX shall be installed in this stage.
RUN apt-get install -y --no-install-recommends \
RUN DEBIAN_FRONTEND=noninteractive TZ=America/Los_Angeles \
apt-get install -y --no-install-recommends \
openssh-client \
# `ca-certificates` is needed by `sccache` to download the cached compilations.
ca-certificates \
Expand All @@ -120,7 +121,15 @@ RUN apt-get install -y --no-install-recommends \
libxml2-utils \
git \
ghostscript \
ninja-build
ninja-build \
python3 \
python3-dev \
python3-mpi4py \
python3-scipy \
python3-virtualenv \
python3-matplotlib \
python3-venv \
python3-pytest

# Install `sccache` binaries to speed up the build of `geos`
RUN --mount=src=.,dst=$SRC_DIR $SRC_DIR/docker/install-sccache.sh
Expand Down

0 comments on commit df0250f

Please sign in to comment.