File tree 3 files changed +7
-95
lines changed
3 files changed +7
-95
lines changed Original file line number Diff line number Diff line change 18
18
# $ docker run -d --privileged openshift/dind
19
19
#
20
20
21
- FROM fedora:25
21
+ FROM fedora:27
22
22
23
23
# Fix 'WARNING: terminal is not fully functional' when TERM=dumb
24
24
ENV TERM=xterm
@@ -49,19 +49,16 @@ RUN systemctl mask\
49
49
RUN cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/;\
50
50
sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
51
51
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.
55
55
RUN dnf -y update && dnf -y install\
56
56
docker\
57
57
glibc-langpack-en\
58
58
iptables\
59
59
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
65
62
66
63
# # Configure docker
67
64
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ RUN dnf -y update && dnf -y install\
23
23
iptables-services\
24
24
conntrack-tools\
25
25
openvswitch\
26
+ openvswitch-ovn-*\
26
27
python-netaddr\
27
28
python2-pyroute2\
28
29
python2-requests\
@@ -32,14 +33,6 @@ RUN dnf -y update && dnf -y install\
32
33
# Remove the CRI-O CNI network configs so openshift-sdn's will be used instead
33
34
RUN rm -f /etc/cni/net.d/*
34
35
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
-
43
36
# A default deny firewall (either iptables or firewalld) is
44
37
# installed by default on non-cloud fedora and rhel, so all
45
38
# network plugins need to be able to work with one enabled.
You can’t perform that action at this time.
0 commit comments