mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01: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
|
||||
|
||||
# --- MinIO, psql client etc. (unchanged) ---
|
||||
ARG BUILD_ARCH
|
||||
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 \
|
||||
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; \
|
||||
|
||||
Reference in New Issue
Block a user