Skip to content

Commit

Permalink
Dockerfile: add labels, cleanup since multi-stage
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Jun 17, 2024
1 parent a63c6ed commit 7e30146
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
FROM ubuntu:20.04
LABEL maintainer="https://github.com/pdiakumis"
LABEL org.opencontainers.image.authors='[email protected], [email protected]' \
org.opencontainers.image.description='Personal Cancer Genome Reporter (PCGR)' \
org.opencontainers.image.source='https://github.com/sigven/pcgr' \
org.opencontainers.image.url='https://github.com/sigven/pcgr' \
org.opencontainers.image.documentation='https://sigven.github.io/pcgr' \
org.opencontainers.image.licenses='MIT'

ARG MINI_VERSION=4.11.0-0
ARG MINI_URL=https://github.com/conda-forge/miniforge/releases/download/${MINI_VERSION}/Mambaforge-${MINI_VERSION}-Linux-x86_64.sh

# install core pkgs, mambaforge
RUN apt-get update && \
apt-get install --yes --no-install-recommends \
bash bzip2 curl git less vim wget zip ca-certificates && \
bash bzip2 curl less wget zip ca-certificates && \
apt-get clean && \
rm -r /var/lib/apt/lists/* && \
rm -r /var/cache/apt/* && \
curl --silent -L "${MINI_URL}" -o "mambaforge.sh" && \
/bin/bash mambaforge.sh -b -p /opt/mambaforge/ && \
rm mambaforge.sh
Expand Down

0 comments on commit 7e30146

Please sign in to comment.