Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 15, 2023
1 parent d3e2fc8 commit 38862fa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
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}
Expand All @@ -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}"

0 comments on commit 38862fa

Please sign in to comment.