Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit a9ea6d1

Browse files
committed
🚑 Fixes build argument for wheels
1 parent eb9411a commit a9ea6d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appdaemon/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
99
COPY requirements.txt /tmp/
1010

1111
# Setup base
12+
ARG BUILD_ARCH=amd64
1213
RUN \
1314
apk add --no-cache --virtual .build-dependencies \
1415
gcc=8.3.0-r0 \
@@ -21,6 +22,7 @@ RUN \
2122
\
2223
&& pip3 install \
2324
--no-cache-dir \
25+
--prefer-binary \
2426
--find-links "https://wheels.hass.io/alpine-3.10/${BUILD_ARCH}/" \
2527
-r /tmp/requirements.txt \
2628
\
@@ -35,7 +37,6 @@ RUN \
3537
COPY rootfs /
3638

3739
# Build arguments
38-
ARG BUILD_ARCH
3940
ARG BUILD_DATE
4041
ARG BUILD_REF
4142
ARG BUILD_VERSION

0 commit comments

Comments
 (0)