e3bb13a1 | # # This is the unofficial OpenShift Origin image for the DockerHub. It has as its # entrypoint the OpenShift all-in-one binary. # # See images/origin for the official release version of this image # # The standard name for this image is openshift/origin # FROM openshift/origin-base RUN yum install -y golang && yum clean all WORKDIR /go/src/github.com/openshift/origin ADD . /go/src/github.com/openshift/origin ENV GOPATH /go ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin |
13ffad72 | RUN go get github.com/openshift/origin && \ |
e3bb13a1 | hack/build-go.sh && \ |
97036f78 | cp _output/local/bin/linux/amd64/* /usr/bin/ && \ |
fb6a9f98 | mkdir -p /var/lib/openshift |
13ffad72 | |
ab7ef450 | EXPOSE 8080 8443 |
fb6a9f98 | WORKDIR /var/lib/openshift |
e3bb13a1 | ENTRYPOINT ["/usr/bin/openshift"] |