From 7170d954a921a4480ffcef5350bb1663fedc4ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= Date: Tue, 22 Jan 2019 08:22:51 +0100 Subject: [PATCH] Initial commit --- Dockerfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1b7717f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# +# This is the integrated Origin Web Console Server. It is configured to +# publish metadata to OpenShift to provide automatic management of images on push. +# +FROM registry.fedoraproject.org/f29/origin-base:latest + +ENV NAME=origin-web-console \ + VERSION=3.11 \ + ARCH=x86_64 + +RUN INSTALL_PKGS="origin-web-console" && \ + dnf install -y ${INSTALL_PKGS} && \ + rpm -V ${INSTALL_PKGS} && \ + dnf clean all + +LABEL io.k8s.display-name="OpenShift Web Console" \ + io.k8s.description="This is a component of OpenShift Container Platform and provides a web console." \ + io.openshift.tags="openshift" \ + maintainer="Jakub Cajka " \ + License="GPLv2+" \ + name="$FGC/$NAME" \ + com.redhat.component="$NAME" \ + version="$VERSION" \ + architecture="$ARCH" \ + usage="Image used for deployment of openshift origin" + +COPY README.md README.md + +# doesn't require a root user. +USER 1001 +EXPOSE 5000 + +CMD [ "/usr/bin/origin-web-console" ]