Skip to content

Commit

Permalink
Switch to separate nginx package repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nedvna committed Nov 29, 2023
1 parent 3c510b4 commit c343556
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG ALPINE_VERSION

FROM alpine:${ALPINE_VERSION}

ARG ALPINE_VERSION
ARG NGINX_VERSION
FROM nginx:${NGINX_VERSION}-alpine${ALPINE_VERSION}

MAINTAINER Wallarm Support Team <[email protected]>
LABEL NGINX_VERSION=${NGINX_VERSION}
Expand All @@ -11,7 +14,10 @@ RUN addgroup -S wallarm && \
adduser -S -D -G wallarm -h /opt/wallarm wallarm && \
apk update && \
apk upgrade && \
apk add bash socat logrotate libgcc gomplate && \
apk add curl bash socat logrotate libgcc gomplate && \
curl -o /etc/apk/keys/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub && \
apk add -X "https://nginx.org/packages/mainline/alpine/v${ALPINE_VERSION}/main" --no-cache "nginx=~${NGINX_VERSION}" && \
nginx -v && \
rm -r /var/cache/apk/*

# install wallarm
Expand Down

0 comments on commit c343556

Please sign in to comment.