mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update Dockerfile
This commit is contained in:
@@ -7,12 +7,13 @@ ARG BUILD_UPSTREAM="2.9.3"
|
|||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
# Setup base
|
# Setup base
|
||||||
ARG BUILD_ARCH
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
nginx \
|
nginx || true
|
||||||
\
|
|
||||||
&& if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
|
ARG BUILD_ARCH
|
||||||
|
RUN \
|
||||||
|
if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
|
||||||
&& if [ "${BUILD_ARCH}" = "armhf" ]; then ARCH="arm"; fi \
|
&& if [ "${BUILD_ARCH}" = "armhf" ]; then ARCH="arm"; fi \
|
||||||
&& if [ "${BUILD_ARCH}" = "armv7" ]; then ARCH="arm"; fi \
|
&& if [ "${BUILD_ARCH}" = "armv7" ]; then ARCH="arm"; fi \
|
||||||
&& if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi \
|
&& if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi \
|
||||||
|
|||||||
Reference in New Issue
Block a user