Adding flash_docker function

This commit is contained in:
Eleon 2021-10-03 02:02:26 +02:00 committed by jedi
parent 2c36406a2a
commit b7ccdfd5d3

View file

@ -8,6 +8,6 @@ RUN cd app/modules/sdk; export CT_EXPERIMENTAL=y; export CT_ALLOW_BUILD_AS_ROOT=
USER 0 USER 0
RUN apt remove --purge -y python2 && apt autoremove --purge -y && apt install -y python3 python3-serial RUN apt remove --purge -y python2 && apt autoremove --purge -y && apt install -y python3 python3-serial
RUN apt install -y --reinstall python-is-python3 RUN apt install -y --reinstall python-is-python3
USER 1000 USER 0
WORKDIR /app WORKDIR /app
ENV PATH=/app/modules/sdk/xtensa-lx106-elf/bin:$PATH ENV PATH=/app/modules/sdk/xtensa-lx106-elf/bin:$PATH