From e8791cd7023b0e9dfd72bf1a6dea2a44236bae88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= Date: Thu, 20 Sep 2018 10:36:20 +0200 Subject: [PATCH] Initial f28/3.9 commit --- Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a599302 --- /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/f28/origin:latest + +ENV NAME=origin-deployer \ + VERSION=3.9 \ + 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="origin-deployer" \ + 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"]