forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
38 lines (28 loc) · 1.32 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# This image is for the master of an openshift dind dev cluster.
#
# The standard name for this image is openshift/dind-master
#
FROM openshift/dind-node
# Disable iptables on the master since it will prevent access to the
# openshift api from outside the master.
RUN systemctl disable iptables.service
COPY openshift-generate-master-config.sh /usr/local/bin/
COPY openshift-disable-master-node.sh /usr/local/bin/
COPY openshift-disable-master-node.service /etc/systemd/system/
RUN systemctl enable openshift-disable-master-node.service
COPY openshift-get-hosts.sh /usr/local/bin/
COPY openshift-add-to-hosts.sh /usr/local/bin/
COPY openshift-remove-from-hosts.sh /usr/local/bin/
COPY openshift-sync-etc-hosts.service /etc/systemd/system/
RUN systemctl enable openshift-sync-etc-hosts.service
COPY openshift-master.service /etc/systemd/system/
RUN systemctl enable openshift-master.service
RUN mkdir -p /etc/systemd/system/openshift-node.service.d
COPY master-node.conf /etc/systemd/system/openshift-node.service.d/
COPY ovn-kubernetes-master-setup.service /etc/systemd/system/
COPY ovn-kubernetes-master-setup.sh /usr/local/bin/
RUN systemctl enable ovn-kubernetes-master-setup.service
COPY ovn-kubernetes-master.service /etc/systemd/system/
COPY ovn-kubernetes-master.sh /usr/local/bin/
RUN systemctl enable ovn-kubernetes-master.service