Skip to content

Commit

Permalink
Bump nginx from 1.27.0 to 1.27.2 (#13)
Browse files Browse the repository at this point in the history
* Bump nginx from 1.27.0 to 1.27.2

Bumps nginx from 1.27.0 to 1.27.2.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump nginx from 1.27.0 to 1.27.2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tomasz Gajewski <tgajewski@gmail.com>
  • Loading branch information
dependabot[bot] and tom00 authored Oct 24, 2024
1 parent 5afd541 commit 7cbc4fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: kiweeteam/nginx-brotli:1.27.0,kiweeteam/nginx-brotli:latest
tags: kiweeteam/nginx-brotli:1.27.2,kiweeteam/nginx-brotli:latest
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ RUN apt update \
&& apt install -y libpcre3 libpcre3-dev zlib1g zlib1g-dev openssl libssl-dev wget git gcc make libbrotli-dev

WORKDIR /app
RUN wget https://nginx.org/download/nginx-1.27.0.tar.gz && tar -zxf nginx-1.27.0.tar.gz
RUN wget https://nginx.org/download/nginx-1.27.2.tar.gz && tar -zxf nginx-1.27.2.tar.gz
RUN git clone --recurse-submodules -j8 https://github.com/google/ngx_brotli
RUN cd nginx-1.27.0 && ./configure --with-compat --add-dynamic-module=../ngx_brotli \
RUN cd nginx-1.27.2 && ./configure --with-compat --add-dynamic-module=../ngx_brotli \
&& make modules

FROM nginx:1.27.0
COPY --from=builder /app/nginx-1.27.0/objs/ngx_http_brotli_static_module.so /etc/nginx/modules/
COPY --from=builder /app/nginx-1.27.0/objs/ngx_http_brotli_filter_module.so /etc/nginx/modules/
FROM nginx:1.27.2
COPY --from=builder /app/nginx-1.27.2/objs/ngx_http_brotli_static_module.so /etc/nginx/modules/
COPY --from=builder /app/nginx-1.27.2/objs/ngx_http_brotli_filter_module.so /etc/nginx/modules/
RUN echo "load_module modules/ngx_http_brotli_filter_module.so;\nload_module modules/ngx_http_brotli_static_module.so;\n$(cat /etc/nginx/nginx.conf)" > /etc/nginx/nginx.conf
RUN echo 'brotli on;\n \
brotli_comp_level 6;\n \
Expand Down

0 comments on commit 7cbc4fe

Please sign in to comment.