chore: update NGINX version to 1.26.2 in Dockerfiles

This commit is contained in:
Théophile Diot 2024-08-30 11:37:19 +02:00
parent 178cca0585
commit d7c86040a9
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
6 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ FROM debian:bookworm@sha256:b16cef8cbcb20935c0f052e37fc3d38dc92bfec0bcfb894c3285
ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
RUN apt-get update \
&& apt-get install -y systemd systemd-sysv \
@ -29,7 +29,7 @@ RUN apt update && \
echo "deb-src https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 && \
apt-get update && \
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-2~bookworm
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-1~bookworm
COPY ./package-debian/*.deb /opt

View file

@ -1,7 +1,7 @@
FROM fedora:40@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0
ENV container docker
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
RUN dnf -y update \
&& dnf -y install systemd \

View file

@ -1,6 +1,6 @@
FROM redhat/ubi8-init:8.10-4@sha256:df22b959e8966c7ef9000cbf89f0bda0440b59902e88e344ea3678912f49286d
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
# Copy rocky repo
COPY src/linux/rocky-8.repo /etc/yum.repos.d/rocky.repo

View file

@ -1,6 +1,6 @@
FROM redhat/ubi9-init:9.4-12@sha256:08e5b87dd9ad095bb1ea7a71e9a6b2e8f9eea16b89fe5c8d152f906770ce60cc
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
# Copy rocky repo
COPY src/linux/rocky-9.repo /etc/yum.repos.d/rocky.repo

View file

@ -3,7 +3,7 @@ FROM ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e7666
ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
RUN apt-get update \
&& apt-get install -y systemd systemd-sysv \
@ -29,7 +29,7 @@ RUN apt update && \
echo "deb-src https://nginx.org/packages/ubuntu/ noble nginx" >> /etc/apt/sources.list.d/nginx.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 && \
apt-get update && \
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-2~noble
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-1~noble
COPY ./package-ubuntu/*.deb /opt

View file

@ -3,7 +3,7 @@ FROM ubuntu:22.04@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021d
ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION 1.26.2
RUN apt-get update \
&& apt-get install -y systemd systemd-sysv \
@ -29,7 +29,7 @@ RUN apt update && \
echo "deb-src https://nginx.org/packages/ubuntu/ jammy nginx" >> /etc/apt/sources.list.d/nginx.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 && \
apt-get update && \
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-2~jammy
apt-get install -y --no-install-recommends nginx=${NGINX_VERSION}-1~jammy
COPY ./package-ubuntu-jammy/*.deb /opt