Skip to content

Commit

Permalink
Merge pull request openshift#17540 from stevekuznetsov/skuznets/updat…
Browse files Browse the repository at this point in the history
…e-base-dockerfile

Automatic merge from submit-queue.

Bring the base Dockerfiles into sync

We need the Dockerfile and Dockerfile.centos7 to be in sync.
Furthermore, the package that is installed has the `-luminous` suffix,
so we need to explicitly provide it or `rpm -V` will fail.

Signed-off-by: Steve Kuznetsov <[email protected]>

Follow-up to openshift#17350
/cc @rootfs 
/assign @csrwng
  • Loading branch information
openshift-merge-robot authored Dec 1, 2017
2 parents 03d8530 + 2120bad commit a0adcf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
FROM openshift/origin-source

RUN INSTALL_PKGS="bsdtar ceph-common device-mapper device-mapper-persistent-data e2fsprogs ethtool findutils git hostname iptables lsof nmap-ncat socat sysvinit-tools tar tree util-linux wget which xfsprogs" && \
yum install -y centos-release-ceph-luminous && \
rpm -V centos-release-ceph-luminous && \
yum install -y ${INSTALL_PKGS} && \
rpm -V ${INSTALL_PKGS} && \
yum clean all && \
Expand Down
6 changes: 3 additions & 3 deletions images/base/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
FROM openshift/origin-source

RUN INSTALL_PKGS="bsdtar ceph-common device-mapper device-mapper-persistent-data e2fsprogs ethtool findutils git hostname iptables lsof nmap-ncat socat sysvinit-tools tar tree util-linux wget which xfsprogs" && \
yum --disablerepo=origin-local-release install -y centos-release-ceph && \
rpm -V centos-release-ceph && \
yum --disablerepo=origin-local-release install -y ${INSTALL_PKGS} && \
yum install -y centos-release-ceph-luminous && \
rpm -V centos-release-ceph-luminous && \
yum install -y ${INSTALL_PKGS} && \
rpm -V ${INSTALL_PKGS} && \
yum clean all && \
mkdir -p /var/lib/origin
Expand Down

0 comments on commit a0adcf4

Please sign in to comment.