Removed orphaned code on CentOS. Timezone data already available on CentOS 10

This commit is contained in:
Alexey Pustovalov 2026-07-17 16:56:08 +09:00
parent 6a2999f61d
commit 5e9bd1d014
11 changed files with 9 additions and 70 deletions

View file

@ -69,13 +69,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -91,6 +91,15 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--setopt=tsflags=nodocs \ --setopt=tsflags=nodocs \
tzdata && \ tzdata && \
microdnf -y reinstall \
--disableplugin=subscription-manager \
--disablerepo="*" \
--enablerepo="ubi-9-baseos-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -68,13 +68,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -93,13 +93,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -90,13 +90,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -96,13 +96,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
microdnf swap -y libcurl-minimal libcurl && \ microdnf swap -y libcurl-minimal libcurl && \
groupadd \ groupadd \
--system \ --system \

View file

@ -94,13 +94,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
microdnf swap -y libcurl-minimal libcurl && \ microdnf swap -y libcurl-minimal libcurl && \
groupadd \ groupadd \
--system \ --system \

View file

@ -88,13 +88,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -87,13 +87,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -84,13 +84,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \

View file

@ -83,13 +83,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--best \ --best \
--nodocs \ --nodocs \
${INSTALL_PKGS} && \ ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo="baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \ groupadd \
--system \ --system \
--gid 1995 \ --gid 1995 \