Skip to content

Commit

Permalink
Dockerfile: Add syntax version and OCI 'source' Annotation (LABEL).
Browse files Browse the repository at this point in the history
  • Loading branch information
pataquets committed Oct 15, 2024
1 parent 1764643 commit 4484ba1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# syntax=docker/dockerfile:1

ARG PYTHON_VERSION
FROM python:${PYTHON_VERSION:-3.12-slim}

# For available labels, see OCI Annotations Spec docs:
# https://specs.opencontainers.org/image-spec/annotations/#pre-defined-annotation-keys
LABEL org.opencontainers.image.source="https://github.com/cloudinary/cloudinary-cli"

RUN pip3 install --no-cache cloudinary-cli

ENTRYPOINT [ "cloudinary" ]

0 comments on commit 4484ba1

Please sign in to comment.