Skip to content

Commit

Permalink
fix(docker): Avoid pip 19.0.1 bug
Browse files Browse the repository at this point in the history
Why:

 * build was failing as described in pypa/pip#6197

This change addreses the need by:

 * force upgrade of pip as that makes it at least pass on my machine docker
   builds.
  • Loading branch information
maxandersen committed Feb 20, 2019
1 parent 7afa47c commit a4e0011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-alpine
FROM python:3.6-alpine
LABEL maintainer="Max Rydahl Andersen <[email protected]>"

WORKDIR /usr/src/app
Expand All @@ -8,6 +8,6 @@ COPY . .
RUN apk add --no-cache --virtual build-dependencies gcc musl-dev\
&& rm -rf /var/cache/apk/*

RUN pip3 install --no-cache-dir -e .
RUN pip3 install --upgrade pip; pip3 install --no-cache-dir -e .

ENTRYPOINT ["hass-cli"]

0 comments on commit a4e0011

Please sign in to comment.