File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM alpine:latest
33ENV NGINX_VERSION=1.31.2
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM --platform=linux/loong64 loongarch64/alpine:3.21
33ENV NGINX_VERSION=1.31.2
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM --platform=linux/mips64le alpine:3.14
33ENV NGINX_VERSION=1.31.2
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM alpine:latest
33ENV NGINX_VERSION=1.30.1
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM --platform=linux/loong64 loongarch64/alpine:3.21
33ENV NGINX_VERSION=1.30.1
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM --platform=linux/mips64le alpine:3.14
33ENV NGINX_VERSION=1.30.1
44ENV LIBRESSL_VERSION=4.3.2
55
6+ ARG TARGETARCH=unknown
7+ ARG TARGETOS=unknown
8+
69# -----------------------------------------------------------------------------
710# Build flags -- kept as ENV so they are visible in `docker inspect`
811# -----------------------------------------------------------------------------
@@ -59,6 +62,11 @@ ENV CONFIG="\
5962"
6063
6164RUN set -eux \
65+ && LIBRESSL_HOST= \
66+ && case "${TARGETARCH:-}-${TARGETVARIANT:-}" in \
67+ arm-v6) LIBRESSL_HOST=armv6-alpine-linux-musleabihf ;; \
68+ arm-v7) LIBRESSL_HOST=armv7-alpine-linux-musleabihf ;; \
69+ esac \
6270 \
6371 # -- System user -----------------------------------------------------------
6472 && addgroup -S nginx \
@@ -239,9 +247,6 @@ RUN set -eux \
239247COPY nginx.conf /etc/nginx/nginx.conf
240248COPY nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
241249
242- ARG TARGETARCH=unknown
243- ARG TARGETOS=unknown
244-
245250LABEL org.opencontainers.image.title="FreeNGINX with LibreSSL" \
246251 org.opencontainers.image.description="FreeNGINX ${NGINX_VERSION} built on Alpine with LibreSSL" \
247252 org.opencontainers.image.source="https://github.com/nginx-modules/docker-freenginx-libressl" \
You can’t perform that action at this time.
0 commit comments