Skip to content

Commit

Permalink
feat: Add docker image for ANS modeling project
Browse files Browse the repository at this point in the history
  • Loading branch information
uwcdc committed Jun 3, 2024
1 parent 9043786 commit 674aa6f
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IMAGE: [base-ssec-project,tutorial-scipy-2024]
IMAGE: [base-ssec-project,project-ans-modeling,tutorial-scipy-2024]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions project-ans-modeling/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ONBUILD instructions in base-image/Dockerfile are used to
# perform certain actions based on the presence of specific
# files (such as conda-linux-64.lock, start) in this repo.
# Refer to the base-image/Dockerfile for documentation.
ARG SSEC_BASE_IMAGE_TAG=latest
FROM ghcr.io/uw-ssec/base-image:${SSEC_BASE_IMAGE_TAG}
5 changes: 5 additions & 0 deletions project-ans-modeling/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build-essential
git
ncdu
curl
vim
18 changes: 18 additions & 0 deletions project-ans-modeling/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: ans-modeling
channels:
- bioconda
- conda-forge
- defaults
dependencies:
- python>=3.11,<3.12
- ipykernel
- ipywidgets
- jupyter
- jupyterlab
- jupyterlab-git
- numpy
- pandas
- matplotlib
- pydantic
- conda-lock
- pip
9 changes: 9 additions & 0 deletions project-ans-modeling/start
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -l

# ==== ONLY EDIT WITHIN THIS BLOCK =====



# ==== ONLY EDIT WITHIN THIS BLOCK =====

exec "$@"
10 changes: 1 addition & 9 deletions tutorial-scipy-2024/start
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
#!/bin/bash -l

# ==== ONLY EDIT WITHIN THIS BLOCK =====



# ==== ONLY EDIT WITHIN THIS BLOCK =====

exec "$@"
ç

0 comments on commit 674aa6f

Please sign in to comment.