File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
images/installer-origin-release Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This Dockerfile is used to create the image quay.io/coreos/origin-release:bazel used in CI
2
+ # to build smoke tests.
3
+ # EX: docker build --rm -t this-image:latest .
4
+
5
+ FROM docker.io/openshift/origin-release:golang-1.10
6
+
7
+ RUN wget -P /etc/yum.repos.d https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo
8
+
9
+ RUN yum install -y bazel gcc-c++ libtool && \
10
+ yum clean all
11
+
12
+ WORKDIR /go/src/github.com/openshift/origin
Original file line number Diff line number Diff line change
1
+ # This Dockerfile is used as a CI job to build smoke tests for OpenShift installer
2
+ # FIXME: Move this image to an openshift repo?
3
+
4
+ FROM quay.io/coreos/origin-release-oc:bazel
5
+ WORKDIR /go/src/github.com/openshift/installer
6
+ COPY . .
7
+
8
+ ENV USER="bazel"
9
+ ENV HOME="/tmp"
10
+
11
+ RUN bazel --output_base=/tmp build smoke_tests && \
12
+ cp bazel-bin/tests/smoke/linux_amd64_stripped/go_default_test /usr/bin/smoke && \
13
+ bazel clean
You can’t perform that action at this time.
0 commit comments