From 38862fafa709189a23e896734426d3da1a655566 Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Sat, 14 Oct 2023 17:32:55 -0700 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index f9b959c..12aa120 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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='altan@uw.edu' \ + org.opencontainers.image.name='SLEAP' \ + org.opencontainers.image.licenses='MIT' \ + org.opencontainers.image.version="${IMAGE_VERSION:-0.1.0}-$SLEAP_VERSION}"