Initial f28/3.9 commit

This commit is contained in:
Jakub Čajka 2018-09-20 10:36:20 +02:00
commit e8791cd702

35
Dockerfile Normal file
View file

@ -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 <jcajka@fedoraproject.org>" \
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"]