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

Docker recipe files for . #8

Merged
merged 1 commit into from
Oct 29, 2023
Merged
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
29 changes: 29 additions & 0 deletions Docker/ubuntu20.04.ufs_obs.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# File: Docker/ubuntu20.04.ufs_obs.dockerfile
# Author: Henry R. Winterbottom
# Date: 29 October 2023

# -------------------------
# * * * W A R N I N G * * *
# -------------------------

# It is STRONGLY urged that users do not make modifications below this
# point; changes below are not supported.

# -------------------------
# * * * W A R N I N G * * *
# -------------------------

FROM ghcr.io/henrywinterbottom-noaa/ubuntu20.04.ufs_pyutils:latest
ENV UFS_OBS_GIT_URL="https://www.github.com/HenryWinterbottom-NOAA/ufs_obs.git"
ENV UFS_OBS_GIT_BRANCH="develop"
ENV OBS_ROOT="/opt/ufs_obs"

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
ENV PATH="/opt/miniconda/bin:${PATH}"

RUN $(command -v git) clone --recursive "${UFS_OBS_GIT_URL}" --branch "${UFS_OBS_GIT_BRANCH}" "${OBS_ROOT}" && \
$(command -v pip) install -r "${OBS_ROOT}/requirements.pip" && \
echo "export OBS_ROOT=${OBS_ROOT}" >> /root/.bashrc

ENV PYTHONPATH="${OBS_ROOT}/sorc:${PYTHONPATH}"
Loading