File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
#
2
2
# This is the base image from which all OpenShift Origin images inherit. Only packages
3
- # common to all downstream images should be here. Depends on Centos 7.2+
3
+ # common to all downstream images should be here. Depends on Centos 7.2+.
4
+ #
5
+ # This image accepts a mounted secret at /var/run/secrets/overrides.repo that will be
6
+ # used to access packages if specified.
4
7
#
5
8
# The standard name for this image is openshift/origin-base
6
9
#
7
10
FROM centos:centos7
8
11
9
- # Until nss-3.21.0-9.el7_2 and openssl-libs-1.0.1e-51.el7_2.5.x86_64 is
10
- # released in the base image we need to manually update this to workaround an
11
- # issue where some of the mirrors are using a certificate
12
- RUN yum update -y nss openssl-libs && \
13
- yum clean all
14
-
15
12
RUN INSTALL_PKGS="which git tar wget hostname sysvinit-tools util-linux bsdtar epel-release \
16
13
socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof" && \
14
+ ln -s /var/run/secrets/overrides.repo /etc/yum.repos.d/ && \
17
15
yum install -y $INSTALL_PKGS && \
18
16
rpm -V $INSTALL_PKGS && \
19
17
yum clean all && \
Original file line number Diff line number Diff line change 3
3
#
4
4
# The standard name for this image is openshift/openvswitch
5
5
#
6
- FROM centos:centos7
6
+ FROM openshift/origin-base
7
7
8
8
COPY scripts/* /usr/local/bin/
9
9
You can’t perform that action at this time.
0 commit comments