Skip to content

Commit 0757a91

Browse files
Merge pull request #18737 from dcbw/dind-f27
Automatic merge from submit-queue. dind: switch images to Fedora 27 Remove the centos base image too; it can't and wasn't being used. @openshift/networking @danwinship @marun
2 parents 573b0f4 + ac830de commit 0757a91

File tree

3 files changed

+7
-95
lines changed

3 files changed

+7
-95
lines changed

images/dind/Dockerfile

+6-9
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# $ docker run -d --privileged openshift/dind
1919
#
2020

21-
FROM fedora:25
21+
FROM fedora:27
2222

2323
# Fix 'WARNING: terminal is not fully functional' when TERM=dumb
2424
ENV TERM=xterm
@@ -49,19 +49,16 @@ RUN systemctl mask\
4949
RUN cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/;\
5050
sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
5151

52-
# Remove non-english translations for glibc to reduce image size by 100mb.
53-
# docker-v1.10-migrator is unnecessary for a new docker installation
54-
# selinux-policy-minimum is unnecessary since selinux won't be enabled
52+
# Remove non-english translations (by explicitly installing just the English
53+
# ones) for glibc to reduce image size by 100mb. Also install various network
54+
# utils for network debugging.
5555
RUN dnf -y update && dnf -y install\
5656
docker\
5757
glibc-langpack-en\
5858
iptables\
5959
openssh-clients\
60-
openssh-server
61-
62-
# Install network utils for debugging
63-
# iproute2 tools are already installed.
64-
RUN dnf -y install tcpdump
60+
openssh-server\
61+
tcpdump
6562

6663
## Configure docker
6764

images/dind/Dockerfile.centos7

-78
This file was deleted.

images/dind/node/Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN dnf -y update && dnf -y install\
2323
iptables-services\
2424
conntrack-tools\
2525
openvswitch\
26+
openvswitch-ovn-*\
2627
python-netaddr\
2728
python2-pyroute2\
2829
python2-requests\
@@ -32,14 +33,6 @@ RUN dnf -y update && dnf -y install\
3233
# Remove the CRI-O CNI network configs so openshift-sdn's will be used instead
3334
RUN rm -f /etc/cni/net.d/*
3435

35-
# Upgrade to a newer OVS and install OVN packages that are only available
36-
# with the newer release. (This can go away when the base image is upgraded to
37-
# OVS 2.8 prerelease or release versions and include OVN sub-packages)
38-
RUN dnf -y install dnf-plugins-core &&\
39-
dnf -y copr enable danw/origin-dind-ovs &&\
40-
dnf -y update openvswitch &&\
41-
dnf -y install openvswitch-ovn-*
42-
4336
# A default deny firewall (either iptables or firewalld) is
4437
# installed by default on non-cloud fedora and rhel, so all
4538
# network plugins need to be able to work with one enabled.

0 commit comments

Comments
 (0)