Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
trivarialthea authored Mar 24, 2024
1 parent c211cad commit 8d6fc0a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ RUN useradd -s /bin/sh -d /home/platformio -m docker
USER root

# Install PlatformIO Core
RUN curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
RUN python3 get-platformio.py
RUN curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py \
&& python3 get-platformio.py \
&& mkdir -p /usr/local/bin \
&& ln -s ~/.platformio/penv/bin/platformio /usr/local/bin/platformio \
&& ln -s ~/.platformio/penv/bin/pio /usr/local/bin/pio \
&& ln -s ~/.platformio/penv/bin/piodebuggdb /usr/local/bin/piodebuggdb
ENV PATH=/home/platformio/.platformio/penv/bin:$PATH

# Clone MarlinFirmware repository, checkout latest release tag
Expand Down

0 comments on commit 8d6fc0a

Please sign in to comment.