Skip to content

Commit

Permalink
Update nginx to 1.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed May 31, 2024
1 parent fb32b99 commit a6d7413
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM rockylinux:9

LABEL maintainer="Kleis Auke Wolthuizen <info@kleisauke.nl>"

ARG NGINX_VERSION=1.25.4
ARG NGINX_VERSION=1.27.0

# Copy the contents of this repository to the container
COPY . /var/www/imagesweserv
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This document describes how to use weserv/images with Docker.

1. Build the container (with a specified nginx version).
```bash
docker build --build-arg NGINX_VERSION=1.25.4 -t weserv/images -f docker/Dockerfile .
docker build --build-arg NGINX_VERSION=1.27.0 -t weserv/images -f docker/Dockerfile .
```

2. Run the container (same as above, but using the recently built tag).
Expand Down
4 changes: 2 additions & 2 deletions docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ FROM alpine:3.19

LABEL maintainer="Kleis Auke Wolthuizen <info@kleisauke.nl>"

ARG NGINX_VERSION=1.25.4
ARG NGINX_VERSION=1.27.0

# Copy the contents of this repository to the container
COPY . /var/www/imagesweserv
WORKDIR /var/www/imagesweserv

# Create nginx user/group first, to be consistent throughout docker variants
# Create nginx user/group
RUN addgroup -g 101 -S nginx \
&& adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
# Bring in build dependencies
Expand Down
2 changes: 1 addition & 1 deletion third_party/nginx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (NOT NGX_VERSION)
set(NGX_VERSION 1.25.4)
set(NGX_VERSION 1.27.0)
endif()

set(NGX_ROOT ${CMAKE_CURRENT_BINARY_DIR})
Expand Down

0 comments on commit a6d7413

Please sign in to comment.