Fixed tzdata on RHEL
This commit is contained in:
parent
fd986f33d8
commit
7061e5e18b
|
|
@ -62,6 +62,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
c-ares \
|
||||
libcurl-minimal \
|
||||
libmodbus \
|
||||
|
|
@ -83,23 +84,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
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 \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
libcurl-minimal \
|
||||
pcre2 \
|
||||
iputils \
|
||||
|
|
@ -77,14 +78,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
|||
openjdk-21-jre-headless" && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
--no-install-recommends install \
|
||||
--no-install-recommends \
|
||||
${INSTALL_PKGS} && \
|
||||
groupadd \
|
||||
--system \
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
INSTALL_PKGS="bash \
|
||||
gzip \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
c-ares \
|
||||
libcurl-minimal \
|
||||
libevent \
|
||||
|
|
@ -108,15 +109,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
INSTALL_PKGS="bash \
|
||||
gzip \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
c-ares \
|
||||
libcurl-minimal \
|
||||
libevent \
|
||||
|
|
@ -106,14 +107,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
gzip \
|
||||
hostname \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
c-ares \
|
||||
libbrotli \
|
||||
libevent \
|
||||
|
|
@ -111,14 +112,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
microdnf swap -y libcurl-minimal libcurl && \
|
||||
groupadd \
|
||||
--system \
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
gzip \
|
||||
hostname \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
c-ares \
|
||||
libbrotli \
|
||||
libevent \
|
||||
|
|
@ -110,15 +111,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
microdnf swap -y libcurl-minimal libcurl && \
|
||||
groupadd \
|
||||
--system \
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
net-snmp" && \
|
||||
microdnf -y install \
|
||||
--disableplugin=subscription-manager \
|
||||
|
|
@ -66,14 +67,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
gzip \
|
||||
jq \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
nginx \
|
||||
php-fpm \
|
||||
php-bcmath \
|
||||
|
|
@ -106,14 +107,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
gzip \
|
||||
jq \
|
||||
shadow-utils \
|
||||
tzdata \
|
||||
nginx \
|
||||
php-fpm \
|
||||
php-bcmath \
|
||||
|
|
@ -105,14 +106,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
${INSTALL_PKGS} && \
|
||||
microdnf -y update \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ubi-10-baseos-rpms" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
groupadd \
|
||||
--system \
|
||||
--gid 1995 \
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
|||
echo "deb [signed-by=/etc/apt/keyrings/debian.gpg] http://deb.debian.org/debian trixie-updates main" >> /etc/apt/sources.list.d/debian.list && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
--no-install-recommends install \
|
||||
--no-install-recommends \
|
||||
${INSTALL_PKGS} && \
|
||||
groupadd \
|
||||
--system \
|
||||
|
|
|
|||
Loading…
Reference in a new issue