From a9ea6d1b70fe607be70163213d111dcda2866721 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 23 Jun 2019 10:03:28 +0200 Subject: [PATCH] :ambulance: Fixes build argument for wheels --- appdaemon/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appdaemon/Dockerfile b/appdaemon/Dockerfile index 662e337..c4476ad 100755 --- a/appdaemon/Dockerfile +++ b/appdaemon/Dockerfile @@ -9,6 +9,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] COPY requirements.txt /tmp/ # Setup base +ARG BUILD_ARCH=amd64 RUN \ apk add --no-cache --virtual .build-dependencies \ gcc=8.3.0-r0 \ @@ -21,6 +22,7 @@ RUN \ \ && pip3 install \ --no-cache-dir \ + --prefer-binary \ --find-links "https://wheels.hass.io/alpine-3.10/${BUILD_ARCH}/" \ -r /tmp/requirements.txt \ \ @@ -35,7 +37,6 @@ RUN \ COPY rootfs / # Build arguments -ARG BUILD_ARCH ARG BUILD_DATE ARG BUILD_REF ARG BUILD_VERSION