Skip to content

Commit

Permalink
Merge branch 'pangeo-notebook/init' of github.com:CNES/datalabs-docke…
Browse files Browse the repository at this point in the history
…r-images into pangeo-notebook/init
  • Loading branch information
eroan-marie committed Nov 28, 2024
2 parents 53376d1 + d362449 commit a3b5e1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
fail-fast: false
matrix:
IMAGE: [base-notebook, pangeo-notebook, pytorch-notebook]
IMAGE: [base-notebook, pangeo-notebook, pytorch-notebook]
name: ${{ matrix.IMAGE }}
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
-include .env

-include .env

# Makefile for convenience, (doesn't look for command outputs)
.PHONY: all
all: base-image base-notebook pangeo-notebook ml-notebook pytorch-notebook
Expand All @@ -14,6 +16,7 @@ base-image :
base-notebook : base-image
cd base-notebook ; \
conda-lock lock --mamba -f environment.yml -p linux-64; \
conda-lock lock --mamba -f environment.yml -p linux-64; \
conda-lock render -k explicit -p linux-64; \
../generate-packages-list.py conda-linux-64.lock > packages.txt; \
docker build -t cnes/base-notebook:master . --no-cache --progress=plain --platform linux/amd64; \
Expand All @@ -24,6 +27,8 @@ pangeo-notebook : base-image
cd pangeo-notebook ; \
cp -r ../base-notebook/resources . ; \
conda-lock lock --mamba -f environment.yml -f ../base-notebook/environment.yml -f ../base-notebook/environment.yml -p linux-64; \
cp -r ../base-notebook/resources . ; \
conda-lock lock --mamba -f environment.yml -f ../base-notebook/environment.yml -f ../base-notebook/environment.yml -p linux-64; \
conda-lock render -k explicit -p linux-64; \
../generate-packages-list.py conda-linux-64.lock > packages.txt; \
docker build -t cnes/pangeo-notebook:master . --progress=plain --platform linux/amd64; \
Expand All @@ -36,6 +41,7 @@ pangeo-notebook : base-image
pytorch-notebook : base-image
cd pytorch-notebook ; \
conda-lock lock --mamba -f environment.yml -f ../pangeo-notebook/environment.yml -f ../base-notebook/environment.yml -p linux-64; \
conda-lock lock --mamba -f environment.yml -f ../pangeo-notebook/environment.yml -f ../base-notebook/environment.yml -p linux-64; \
conda-lock render -k explicit -p linux-64; \
../generate-packages-list.py conda-linux-64.lock > packages.txt; \
docker build -t cnes/pytorch-notebook:master . ; \
Expand Down

0 comments on commit a3b5e1a

Please sign in to comment.