From 4c3b36e118886e977a9ead2af6ffa20617f7cd15 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Fri, 29 Mar 2019 16:30:38 +0000 Subject: [PATCH] Add new file --- Dockerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..093dcf6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,28 @@ +FROM "python:3.7-alpine" + +ARG BUILD_DATE +ARG VCS_REF +ARG VERSION + +RUN apk --no-cache add --virtual build-dependencies build-base && \ + pip install --no-cache-dir troposphere && \ + apk del build-dependencies + +# TODO : vérifier les labels +LABEL "maintainer"="dockerimages@cabillot.eu" \ + "org.label-schema.name"="troposphere" \ + "org.label-schema.base-image.name"="docker.io/library/python" \ + "org.label-schema.base-image.version"="3.7-alpine" \ + "org.label-schema.description"="Troposphere in a container" \ + "org.label-schema.url"="https://github.com/willthames/ansible-review" \ + "org.label-schema.vcs-url"="https://gitlab.cabillot.eu/jcabillot/troposphere/" \ + "org.label-schema.vendor"="Julien Cabillot" \ + "org.label-schema.schema-version"="1.0" \ + "org.label-schema.applications.troposphere.version"="latest" \ + "org.label-schema.vcs-ref"="$VCS_REF" \ + "org.label-schema.version"="$VERSION" \ + "org.label-schema.build-date"="$BUILD_DATE" \ + "org.label-schema.usage"="docker run --rm -v $(pwd):/data registry.cabillot.eu/jcabillot/troposphere" + +#ENTRYPOINT [ "/usr/local/bin/ansible-review" ] +#CMD [ "--help" ]