forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (21 loc) · 693 Bytes
/
Dockerfile
File metadata and controls
25 lines (21 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# 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
RUN go get github.com/openshift/origin && \
hack/build-go.sh && \
cp _output/local/go/bin/* /usr/bin/ && \
mkdir -p /var/lib/openshift
EXPOSE 8080
WORKDIR /var/lib/openshift
ENTRYPOINT ["/usr/bin/openshift"]