File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# This Dockerfile is used by CI to test using OpenShift Installer against an OpenStack cloud.
2
2
# It builds an image containing the openshift-install command as well as the openstack cli.
3
-
4
3
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
5
4
WORKDIR /go/src/github.com/openshift/installer
6
5
COPY . .
7
6
RUN hack/build.sh
8
7
9
8
FROM registry.svc.ci.openshift.org/origin/4.1:base
10
9
COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
10
+ COPY --from=builder images/openstack/rdo-stein.repo /etc/yum.repos.d/rdo-stein.repo
11
11
COPY --from=registry.svc.ci.openshift.org/openshift/origin-v4.0:cli /usr/bin/oc /bin/oc
12
12
13
13
RUN yum install --setopt=tsflags=nodocs -y \
14
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
15
- https://www.rdoproject.org/repos/rdo-release.rpm && \
14
+ https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &&\
16
15
yum update -y && \
17
16
yum install --setopt=tsflags=nodocs -y \
18
17
python-openstackclient && \
Original file line number Diff line number Diff line change
1
+ [openstack-stein]
2
+ name=OpenStack Stein Repository
3
+ baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-stein/
4
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=cloud-openstack-stein
5
+ gpgcheck=0
6
+ enabled=1
You can’t perform that action at this time.
0 commit comments