add nginx

This commit is contained in:
Alexandre
2021-05-06 13:43:56 +02:00
parent 62a17ab506
commit 6343dcae5e
14 changed files with 257 additions and 67 deletions

View File

@@ -7,9 +7,12 @@ ARG BUILD_UPSTREAM="2.1.1"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base
ARG BUILD_ARCH=amd64
ARG BUILD_ARCH
RUN \
if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
apk add --no-cache \
nginx \
\
&& if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
&& if [ "${BUILD_ARCH}" = "armhf" ]; then ARCH="arm"; fi \
&& if [ "${BUILD_ARCH}" = "armv7" ]; then ARCH="arm"; fi \
&& if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi \