Browse code

Dockerfile that builds and runs the openshift executable

Jessica Forrester authored on 2014/08/15 07:55:14
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
0
+FROM google/golang
1
+MAINTAINER Jessica Forrester <jforrest@redhat.com>
2
+
3
+WORKDIR /gopath/src/github.com/openshift/origin
4
+ADD . /gopath/src/github.com/openshift/origin
5
+RUN go get github.com/openshift/origin && \
6
+    go get github.com/coreos/etcd && \
7
+    hack/build-go.sh
8
+
9
+ENTRYPOINT ["output/go/bin/openshift"]