From 0b10c2ec52b553e453dcabce39a0bc7de44f5b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= Date: Fri, 18 Jan 2019 12:43:40 +0100 Subject: [PATCH] Initial commit --- Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ca10e33 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,35 @@ +# +# This is the default deployment strategy image for OpenShift Origin. It expects a set of +# environment variables to parameterize the deploy: +# +# "OPENSHIFT_DEPLOYMENT_NAME" - the name of a replication controller that is being deployed +# "OPENSHIFT_DEPLOYMENT_NAMESPACE" - the namespace of the replication controller that is being deployed +# +# It also expects to receive the standard Kubernetes service account secret to connect back to +# the OpenShift API to drive the deployment. +# +# The standard name for this image is openshift/origin-deployer +# +FROM registry.fedoraproject.org/f29/origin:latest + +ENV NAME=origin-deployer \ + VERSION=3.11 \ + ARCH=x86_64 + +LABEL io.k8s.display-name="OpenShift Origin Deployer" \ + io.k8s.description="This is a component of OpenShift Origin and executes the user deployment process to roll out new containers. It may be used as a base image for building your own custom deployer image." \ + io.openshift.tags="openshift,deployer" \ + summary="This is a component of OpenShift Origin and executes the user deployment process to roll out new containers. It may be used as a base image for building your own custom deployer image." \ + 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 executes the user deployment process to roll out new containers. It may be used as a base image for building your own custom deployer image." + +COPY README.md README.md + +# The deployer doesn't require a root user. +USER 1001 +ENTRYPOINT ["/usr/bin/openshift-deploy"]