Skip to content

Commit 1320862

Browse files
Update Dockerfile
1 parent b93fa35 commit 1320862

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM python:3-slim-buster
1+
FROM ubuntu:latest
22

3-
RUN apt update && apt install -y curl build-essential g++ git
3+
RUN apt update && apt install -y curl build-essential g++ git python3
44

55
# Create a non-root user and group
66
RUN useradd -s /bin/sh -d /home/platformio -m docker
77
USER docker:docker
88

99
# Install PlatformIO Core
10-
RUN python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py)"
10+
RUN curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
11+
RUN python3 get-platformio.py
1112
ENV PATH=/home/platformio/.platformio/penv/bin:$PATH
1213

1314
# Clone MarlinFirmware repository, checkout latest release tag

0 commit comments

Comments
 (0)