Added Oracle Linux 8 images instead of CentOS 8

This commit is contained in:
Alexey Pustovalov
2021-06-09 20:12:38 -04:00
parent b56ba9884a
commit 046e349b7b
10 changed files with 30 additions and 0 deletions

View File

@ -108,6 +108,8 @@ RUN set -eux && \
unixODBC-devel" && \
microdnf -y install --setopt=install_weak_deps=0 --best \
--nodocs dnf && \
mkdir -p /etc/yum/vars/ && \
echo "" > /etc/yum/vars/ociregion && \
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
cd /tmp/ && \
@ -152,6 +154,7 @@ RUN set -eux && \
dnf -y history undo last && \
dnf -y clean all && \
microdnf -y remove dnf && \
rm -rf /etc/yum/ && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki