Skip to content

Commit a4e0011

Browse files
committed
fix(docker): Avoid pip 19.0.1 bug
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.
1 parent 7afa47c commit a4e0011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7-alpine
1+
FROM python:3.6-alpine
22
LABEL maintainer="Max Rydahl Andersen <max@xam.dk>"
33

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

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

1313
ENTRYPOINT ["hass-cli"]

0 commit comments

Comments
 (0)