Skip to content

Commit

Permalink
changed: set specific release branch for application repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ammnt committed Sep 16, 2024
1 parent d62841a commit 4fd7f11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM docker.io/library/alpine:latest
ENV OPENSSL_BRANCH openssl-3.3

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

ENV APP_BRANCH release-1.27.1

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
&& apk -U upgrade && apk add --no-cache \
openssl \
Expand Down Expand Up @@ -32,7 +32,7 @@ RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
ncurses-libs \
gd-dev \
brotli-libs \
&& cd /tmp && git clone https://github.com/nginx/nginx \
&& cd /tmp && git clone -b "${APP_BRANCH}" https://github.com/nginx/nginx \
&& sed -i -e 's@"nginx/"@" "@g' /tmp/nginx/src/core/nginx.h \
&& sed -i -e 's@"nginx version: "@" "@g' /tmp/nginx/src/core/nginx.c \
&& sed -i -e 's@r->headers_out.server == NULL@0@g' /tmp/nginx/src/http/ngx_http_header_filter_module.c \
Expand Down

0 comments on commit 4fd7f11

Please sign in to comment.