-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
ARG MICROMAMBA_TAG=jammy-cuda-12.1.1 | ||
ARG SLEAP_PYTHON_VERSION=3.7.12 | ||
ARG SLEAP_VERSION=1.3.3 | ||
ARG IMAGE_VERSION=0.1.0 | ||
|
||
# Use the specified base image | ||
FROM mambaorg/micromamba:${MICROMAMBA_TAG:-jammy-cuda-12.1.1} | ||
|
@@ -10,3 +11,15 @@ ENV MAMBA_DOCKERFILE_ACTIVATE=1 | |
|
||
# Install sleap | ||
RUN micromamba install -y -n base python="${SLEAP_PYTHON_VERSION:-3.7.12}" -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.3.3 | ||
|
||
ARG BUILD_DATE | ||
LABEL org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="SLEAP" \ | ||
org.label-schema.description="A container for running SLEAP" | ||
|
||
|
||
|
||
LABEL org.opencontainers.image.authors='[email protected]' \ | ||
org.opencontainers.image.name='SLEAP' \ | ||
org.opencontainers.image.licenses='MIT' \ | ||
org.opencontainers.image.version="${IMAGE_VERSION:-0.1.0}-$SLEAP_VERSION}" |