Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gitworkflows authored Dec 26, 2024
1 parent 3f6cd9d commit fe27e5f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM scratch

# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG PROJECT_URL
ARG VCS_REF
ARG TARBALL
ARG RELEASE_DESCRIPTION

# https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL org.opencontainers.image.created="$BUILD_DATE" \
org.opencontainers.image.source="$PROJECT_URL" \
org.opencontainers.image.revision="$VCS_REF" \
org.opencontainers.image.vendor="Offensive Security" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.title="Conda Linux ($RELEASE_DESCRIPTION branch)" \
org.opencontainers.image.description="Official Conda Linux container image for $RELEASE_DESCRIPTION"

ADD $TARBALL /

CMD ["bash"]

0 comments on commit fe27e5f

Please sign in to comment.