Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ctsm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
branches: [main]
paths:
- '.github/workflows/ctsm-build.yml'

- 'unit-testing/Dockerfile'
jobs:
build-and-push:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions unit-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ ENV BRANCH_URL=""
# Install dependencies not associated with the spack environment
RUN apt-get update && apt-get install -y wget git python3

# Install Miniconda
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
bash /tmp/miniconda.sh -b -p /opt/miniconda && \
rm /tmp/miniconda.sh && \
ln -s /opt/miniconda/bin/conda /usr/local/bin/conda

# Clone CTSM and checkout the specified version with git-fleximod
RUN git clone https://github.com/ESCOMP/CTSM.git && \
cd CTSM && \
Expand Down