-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to separate nginx package repo
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | ||
|
@@ -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 | ||
|