Skip to content
Draft
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
8 changes: 6 additions & 2 deletions container-files/Dockerfile-fre-cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM condaforge/mambaforge:24.9.2-0 as builder

Check warning on line 1 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (mambaforge)

Check warning on line 1 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (condaforge)
#LABEL maintainer "Ciheim Brown"

Check warning on line 2 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Ciheim)
## Description ##
# condaforge is based on a stripped down ubuntu image. We need some extra bits for frerun + fremake

Check warning on line 4 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (condaforge)
Expand All @@ -18,16 +18,20 @@
RUN conda update -n base -c conda-forge conda

# Copy runscript in container and make it executable
COPY container-files/runscript.sh /app/exec/runscript.sh
COPY runscript.sh /app/exec/runscript.sh
RUN chmod +x /app/exec/runscript.sh

# Set up conda environment directory for cylc workflow
COPY container-files/cylc-flow-tools.yaml ${conda_location}/cylc-flow-tools.yaml
COPY cylc-flow-tools.yaml ${conda_location}/cylc-flow-tools.yaml
RUN mamba env create --file ${conda_location}/cylc-flow-tools.yaml -p ${conda_location}

## NOT IDEAL but these changes are needed for the hsm conda package (specifically hsmput.mk) to work

Check warning on line 28 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (hsmput)
RUN sed -i '28p' /app/cylc-flow-tools/mk/hsmput.mk

Check warning on line 29 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (hsmput)
RUN sed -i 's/>& \/dev\/null/> \/dev\/null 2>\&1/g' /app/cylc-flow-tools/mk/hsmput.mk

Check warning on line 30 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (hsmput)

# Maybe perhaps tag an external mounted volume /mnt2 as being safe...
# RUN git config --global --add safe.directory /mnt2

RUN conda install urwid==2.*

Check warning on line 35 in container-files/Dockerfile-fre-cli

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (urwid)

ENTRYPOINT ["/bin/bash"]
2 changes: 1 addition & 1 deletion container-files/cylc-flow-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- NOAA-GFDL
dependencies:
- noaa-gfdl::hsm
- noaa-gfdl::fre-cli==2025.04
- noaa-gfdl::fre-cli==2026.01.alpha2
- conda-forge::nco
- conda-forge::rsync
- conda-forge::make
Expand Down
Loading