-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from esgf-nimbus/adds_minimal_gpu
Adds minimal gpu container
- Loading branch information
Showing
5 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG TAG | ||
FROM ghcr.io/esgf-nimbus/minimal-notebook:${TAG} | ||
|
||
USER root | ||
|
||
RUN --mount=type=cache,target=/opt/conda/pkgs \ | ||
mamba install -y \ | ||
rapids \ | ||
cupy && \ | ||
chown -R ${NB_UID}:${NB_GID} /home/jovyan | ||
|
||
USER $NB_USER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.DEFAULT_GOAL = build | ||
|
||
VERSION = 0.1.0 | ||
|
||
build: ARGS = --build-arg TAG=$(shell tbump -C ../minimal-notebook current-version) | ||
|
||
include ../Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[version] | ||
current = "0.1.0" | ||
|
||
regex = ''' | ||
(?P<major>\d+) | ||
\. | ||
(?P<minor>\d+) | ||
\. | ||
(?P<patch>\d+) | ||
''' | ||
|
||
[git] | ||
message_template = "Bump to {new_version}" | ||
tag_template = "v{new_version}" | ||
|
||
[[file]] | ||
src = "Makefile" | ||
search = "VERSION = {current_version}" |