mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Add BUILD_ARCH argument to Dockerfile
This commit is contained in:
@@ -53,8 +53,9 @@ RUN chmod 744 /ha_lsio.sh && \
|
|||||||
rm /ha_lsio.sh
|
rm /ha_lsio.sh
|
||||||
|
|
||||||
# --- MinIO, psql client etc. (unchanged) ---
|
# --- MinIO, psql client etc. (unchanged) ---
|
||||||
|
ARG BUILD_ARCH
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
if [ "$BUILD_ARCH" = "aarch64" ]; then BUILD_ARCH="arm64"; fi
|
if [ "$BUILD_ARCH" = "aarch64" ]; then BUILD_ARCH="arm64"; fi && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
bash curl ca-certificates wget jq tini postgresql15-client; \
|
bash curl ca-certificates wget jq tini postgresql15-client; \
|
||||||
curl -fsSL https://dl.min.io/server/minio/release/linux-"$BUILD_ARCH"/minio -o /usr/local/bin/minio; \
|
curl -fsSL https://dl.min.io/server/minio/release/linux-"$BUILD_ARCH"/minio -o /usr/local/bin/minio; \
|
||||||
|
|||||||
Reference in New Issue
Block a user