File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,16 @@ LABEL description="Docker Container with a complete build environment for Tasmot
88# Disable pip root user warning
99ENV PIP_ROOT_USER_ACTION=ignore
1010
11- # Install platformio.
11+ # Install platformio
1212RUN pip install --upgrade pip &&\
1313 pip install --upgrade platformio
1414
15+ # global pip configuration
16+ RUN mkdir -p /etc/pip && \
17+ echo "[global]" > /etc/pip/pip.conf && \
18+ echo "root-user-action = ignore" >> /etc/pip/pip.conf && \
19+ echo "no-warn-script-location = true" >> /etc/pip/pip.conf
20+
1521# Init project
1622COPY init_pio_tasmota /init_pio_tasmota
1723
@@ -24,7 +30,8 @@ RUN cd /init_pio_tasmota &&\
2430 rm -fr init_pio_tasmota &&\
2531 cp -r /root/.platformio / &&\
2632 mkdir /.cache /.local &&\
27- chmod -R 777 /.platformio /usr/local/lib /usr/local/bin /.cache /.local
33+ chmod -R 777 /.platformio /usr/local/lib /usr/local/bin /.cache /.local &&\
34+ chmod -R 777 /usr/local/lib/python*/site-packages/
2835
2936COPY entrypoint.sh /entrypoint.sh
3037
You can’t perform that action at this time.
0 commit comments