Skip to content

Commit

Permalink
Merge pull request #11 from chancez/skip_missing_on_install_fail
Browse files Browse the repository at this point in the history
base/*: Set skip_missing_names_on_install=0 in /etc/yum.conf
  • Loading branch information
openshift-merge-robot committed Aug 12, 2019
2 parents 2f60da3 + 56fc2fe commit 1be922d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/Dockerfile
Expand Up @@ -11,8 +11,8 @@ RUN INSTALL_PKGS=" \
which tar wget hostname sysvinit-tools util-linux \
socat tree findutils lsof bind-utils shadow-utils \
" && \
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
yum install -y ${INSTALL_PKGS} && \
rpm -V ${INSTALL_PKGS} && \
yum clean all && \
mkdir -p /var/lib/origin

Expand Down
2 changes: 1 addition & 1 deletion base/Dockerfile.centos7
Expand Up @@ -10,8 +10,8 @@ RUN INSTALL_PKGS=" \
which tar wget hostname sysvinit-tools util-linux \
socat tree findutils lsof bind-utils shadow-utils \
" && \
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
yum install -y ${INSTALL_PKGS} && \
rpm -V ${INSTALL_PKGS} && \
yum clean all && \
mkdir -p /var/lib/origin

Expand Down
1 change: 1 addition & 0 deletions base/Dockerfile.rhel
Expand Up @@ -5,6 +5,7 @@ RUN INSTALL_PKGS=" \
procps-ng rsync \
" && \
if [ ! -e /usr/bin/yum ]; then ln -s /usr/bin/microdnf /usr/bin/yum; fi && \
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
yum install -y --setopt=tsflags=nodocs ${INSTALL_PKGS} && \
yum clean all && rm -rf /var/cache/*
LABEL io.k8s.display-name="OpenShift Base" \
Expand Down
2 changes: 1 addition & 1 deletion base/Dockerfile.rhel7
Expand Up @@ -10,8 +10,8 @@ RUN INSTALL_PKGS=" \
which tar wget hostname sysvinit-tools util-linux \
socat tree findutils lsof bind-utils shadow-utils \
" && \
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
yum --disablerepo=origin-local-release install -y $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum clean all && \
mkdir -p /var/lib/origin

Expand Down

0 comments on commit 1be922d

Please sign in to comment.