From 4a6f8e5dd23c656fccb2186e2eae933b999aa324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= Date: Fri, 21 Sep 2018 15:46:13 +0200 Subject: [PATCH] Initial f28/3.9 commit --- Dockerfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a98d3bc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# +# This is the image that executes a S2I build inside Origin. It expects the +# following environment variables: +# +# BUILD - JSON string containing the openshift build object +# +# This image expects to have the Docker socket bind-mounted into the container. +# If "/root/.dockercfg" is bind mounted in, it will use that as authorization to a +# Docker registry. +# +# The standard name for this image is openshift/origin-sti-builder +# +FROM registry.fedoraproject.org/f28/origin-base:latest + +ENV NAME=origin-sti-builder \ + VERSION=3.9 \ + ARCH=x86_64 + +LABEL io.k8s.display-name="OpenShift Origin S2I Builder" \ + io.k8s.description="This is a component of OpenShift Origin and is responsible for executing source-to-image (s2i) image builds." \ + io.openshift.tags="openshift,sti,builder" \ + summary="This is a component of OpenShift Origin and is responsible for executing source-to-image (s2i) image builds." \ + maintainer="Jakub Cajka " \ + License="GPLv2+" \ + name="$FGC/$NAME" \ + com.redhat.component="$NAME" \ + version="$VERSION" \ + architecture="$ARCH" \ + usage="This is a component of OpenShift Origin and is responsible for executing source-to-image (s2i) image builds." + +COPY README.md README.md + +ENTRYPOINT ["/usr/bin/openshift-sti-build"]