From 4bc37b49d26658f5cd523b06bad0c68514c746b4 Mon Sep 17 00:00:00 2001 From: willemvd Date: Wed, 8 Feb 2017 14:27:35 +0100 Subject: [PATCH] initial version --- .gitignore | 0 Dockerfile | 15 +++++++++++++++ README.md | 3 +++ 3 files changed, 18 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6d3582b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM gliderlabs/alpine:3.4 +MAINTAINER Willem willemvd@github + +ENV OC_VERSION 3.3 +ENV OC_FULL_VERSION 3.3.1.4-1 + +RUN apk-install ca-certificates openssl && \ + wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub && \ + apk-install -X http://apkproxy.heroku.com/sgerrand/alpine-pkg-glibc glibc glibc-bin && \ + cd /tmp && \ + wget https://s3.amazonaws.com/oso-preview-docker-registry/client-tools/${OC_VERSION}/oc-${OC_FULL_VERSION}-linux.tar.gz && \ + tar zxvf /tmp/oc-${OC_FULL_VERSION}-linux.tar.gz -C /usr/bin && \ + rm -rf /tmp/oc-${OC_FULL_VERSION}-linux.tar.gz + +CMD oc \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e68dad5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# openshift-oc-docker + +This docker image provides the oc tools that can be used to connect to an OpenShift v3 environment \ No newline at end of file