Skip to content
Snippets Groups Projects
Dockerfile 473 B
Newer Older
Vincent Hatakeyama's avatar
Vincent Hatakeyama committed
FROM python:alpine
ARG BUILD_DATE=""
ARG VCS_URL="https://orus.io/xcg/docker/twine"
ARG VCS_REF=""
ARG VERSION=""
LABEL maintainer="release@xcg-consulting.fr" \
      org.opencontainers.image.revision=$VERSION \
      org.opencontainers.image.version=$VCS_REF \
      org.opencontainers.image.created=$BUILD_DATE \
      org.opencontainers.image.title="Twine" \
      org.opencontainers.image.source=$VCS_URL
RUN pip install --no-cache-dir twine build
Vincent Hatakeyama's avatar
Vincent Hatakeyama committed
ENTRYPOINT ["twine"]