Skip to content

Commit

Permalink
Dockcer image for armhf.
Browse files Browse the repository at this point in the history
  • Loading branch information
rufik authored and maxandersen committed Feb 20, 2019
1 parent 12e29e0 commit fd44bf2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#python 3.6 with Alpine 3.8
FROM balenalib/armv7hf-alpine-python:3.6-3.8
LABEL maintainer="Max Rydahl Andersen <[email protected]>"

RUN [ "cross-build-start" ]

RUN apk add --no-cache --virtual build-dependencies gcc musl-dev\
&& rm -rf /var/cache/apk/*

WORKDIR /usr/src/app
COPY . .
RUN pip3 install --upgrade pip; pip3 install --no-cache-dir -e .

RUN [ "cross-build-end" ]

ENTRYPOINT ["hass-cli"]

0 comments on commit fd44bf2

Please sign in to comment.