Link pip&python in lint Dockerfile

This commit is contained in:
Otto Winter 2019-10-19 20:23:14 +02:00
parent 62d4b29662
commit e553c0768e
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
1 changed files with 2 additions and 0 deletions

View File

@ -14,5 +14,7 @@ RUN \
COPY requirements_test.txt /requirements_test.txt
RUN pip3 install --no-cache-dir wheel && pip3 install --no-cache-dir -r /requirements_test.txt
RUN ln -s /usr/bin/pip3 /usr/bin/pip && ln -f -s /usr/bin/python3 /usr/bin/python
VOLUME ["/esphome"]
WORKDIR /esphome