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

View file

@ -14,5 +14,7 @@ RUN \
COPY requirements_test.txt /requirements_test.txt COPY requirements_test.txt /requirements_test.txt
RUN pip3 install --no-cache-dir wheel && pip3 install --no-cache-dir -r /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"] VOLUME ["/esphome"]
WORKDIR /esphome WORKDIR /esphome