We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4477924 commit a7e2e97Copy full SHA for a7e2e97
Dockerfile
@@ -1,13 +1,13 @@
1
-FROM ubuntu:latest
+FROM python:3-slim-buster
2
3
-RUN apt update && apt install -y curl build-essential g++ git python3
+RUN apt update && apt install -y curl build-essential g++ git
4
5
# Create a non-root user and group
6
RUN useradd -s /bin/sh -d /home/platformio -m docker
7
USER docker:docker
8
9
# Install PlatformIO Core
10
-copy get-platformio.py .
+COPY get-platformio.py .
11
RUN python3 get-platformio.py
12
ENV PATH=/home/platformio/.platformio/penv/bin:$PATH
13
0 commit comments