Skip to content

Commit a7e2e97

Browse files
Update Dockerfile
1 parent 4477924 commit a7e2e97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM ubuntu:latest
1+
FROM python:3-slim-buster
22

3-
RUN apt update && apt install -y curl build-essential g++ git python3
3+
RUN apt update && apt install -y curl build-essential g++ git
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-
copy get-platformio.py .
10+
COPY get-platformio.py .
1111
RUN python3 get-platformio.py
1212
ENV PATH=/home/platformio/.platformio/penv/bin:$PATH
1313

0 commit comments

Comments
 (0)