mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-28 18:53:10 +01:00
Security update for curl actions
This commit is contained in:
parent
28ece2bc92
commit
0d6c8e5b66
@ -59,7 +59,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
libmodbus \
|
libmodbus \
|
||||||
libcurl-minimal" && \
|
libcurl-minimal" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
|
@ -57,7 +57,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
git \
|
git \
|
||||||
gettext \
|
gettext \
|
||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -75,7 +75,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
gzip \
|
gzip \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -72,7 +72,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
sqlite-libs \
|
sqlite-libs \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -78,7 +78,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
gzip \
|
gzip \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -80,7 +80,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
postgresql-libs \
|
postgresql-libs \
|
||||||
gzip \
|
gzip \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -67,7 +67,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-mysqlnd \
|
php-mysqlnd \
|
||||||
php-xml" && \
|
php-xml" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -58,7 +58,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
--no-install-recommends install \
|
--no-install-recommends install \
|
||||||
${INSTALL_TEMP_PKGS} && \
|
${INSTALL_TEMP_PKGS} && \
|
||||||
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME && \
|
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME && \
|
||||||
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /etc/apt/trusted.gpg.d/nginx.gpg && \
|
curl --tlsv1.2 -sSf -L https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /etc/apt/trusted.gpg.d/nginx.gpg && \
|
||||||
gpg --dry-run --quiet --import --import-options import-show /etc/apt/trusted.gpg.d/nginx.gpg && \
|
gpg --dry-run --quiet --import --import-options import-show /etc/apt/trusted.gpg.d/nginx.gpg && \
|
||||||
DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \
|
DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \
|
||||||
echo "deb https://nginx.org/packages/ubuntu $DISTRIB_CODENAME nginx" > /etc/apt/sources.list.d/nginx.list && \
|
echo "deb https://nginx.org/packages/ubuntu $DISTRIB_CODENAME nginx" > /etc/apt/sources.list.d/nginx.list && \
|
||||||
|
@ -67,7 +67,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-pgsql \
|
php-pgsql \
|
||||||
php-xml" && \
|
php-xml" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
@ -58,7 +58,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
--no-install-recommends install \
|
--no-install-recommends install \
|
||||||
${INSTALL_TEMP_PKGS} && \
|
${INSTALL_TEMP_PKGS} && \
|
||||||
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME && \
|
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME && \
|
||||||
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /etc/apt/trusted.gpg.d/nginx.gpg && \
|
curl --tlsv1.2 -sSf -L https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /etc/apt/trusted.gpg.d/nginx.gpg && \
|
||||||
gpg --dry-run --quiet --import --import-options import-show /etc/apt/trusted.gpg.d/nginx.gpg && \
|
gpg --dry-run --quiet --import --import-options import-show /etc/apt/trusted.gpg.d/nginx.gpg && \
|
||||||
DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \
|
DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \
|
||||||
echo "deb https://nginx.org/packages/ubuntu $DISTRIB_CODENAME nginx" > /etc/apt/sources.list.d/nginx.list && \
|
echo "deb https://nginx.org/packages/ubuntu $DISTRIB_CODENAME nginx" > /etc/apt/sources.list.d/nginx.list && \
|
||||||
|
@ -55,7 +55,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
chromium-headless" && \
|
chromium-headless" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user