Update NGINX version to 1.26.1 in Dockerfile-fedora

This commit is contained in:
Théophile Diot 2024-06-03 16:56:19 +01:00
parent fbdf4f8065
commit a0c3b6e691
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
2 changed files with 10 additions and 6 deletions

View file

@ -420,13 +420,17 @@ To simplify the installation process, Linux package repositories for BunkerWeb a
=== "Fedora"
!!! info "NGINX 1.26.1"
Fedora does not provide NGINX 1.26.1 in its official repositories therefore we need to install the 1.26.0 version.
!!! info "Fedora Update Testing"
If you can't find the NGINX version listed in the stable repository, you can enable the `updates-testing` repository :
Fedora already provides NGINX 1.26.0 that we support :
```shell
sudo dnf config-manager --set-enabled updates-testing
```
Fedora already provides NGINX 1.26.1 that we support :
```shell
sudo dnf install -y nginx-1.26.0
sudo dnf install -y nginx-1.26.1
```
Optional step : if you want to automatically enable the [setup wizard](web-ui.md#setup-wizard) when BunkerWeb is installed, export the following variable :

View file

@ -1,13 +1,13 @@
FROM fedora:39@sha256:ee042eb5527cfe117d279af0fff4461ad0c5441a8ef36deea9d98a2eb0130a90 as builder
ENV OS=fedora
ENV NGINX_VERSION 1.26.0
ENV NGINX_VERSION 1.26.1
# Install Nginx, fpm and dependencies
RUN dnf update -y && \
dnf install -y curl gnupg2 ca-certificates redhat-lsb-core make gcc && \
dnf install -y --setopt=install_weak_deps=False python3 python3-devel python3-pip brotli brotli-devel gperftools-devel perl libxslt-devel libxml2 yajl yajl-devel libxslt bash gd gd-devel gcc-c++ kernel-devel znc-modtcl libmpc-devel gmp-devel gawk mpfr-devel libtool pcre-devel automake autoconf readline-devel gcc make openssl-devel git zlib-devel libxml2-devel pkgconf libcurl-devel geoip-devel lmdb-devel && \
dnf install nginx-${NGINX_VERSION} -y
dnf install --enablerepo=updates-testing nginx-${NGINX_VERSION} -y
WORKDIR /tmp/bunkerweb/deps