Skip to content

Commit

Permalink
initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
willemvd committed Feb 8, 2017
0 parents commit 4bc37b4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Empty file added .gitignore
Empty file.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4bc37b4

Please sign in to comment.