Skip to content

Commit 1ad5b49

Browse files
authored
Optimize Dockerfile by removing unused build packages
installed deps have now precompiled wheels for all common OS. No more need to provide build tools in container.
1 parent 035467d commit 1ad5b49

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ ENV GITHUB_ACTIONS=true
1717

1818
# Install git and build dependencies required for Python packages (gcc for fatfs-ng, littlefs-python)
1919
RUN apt-get update && apt-get install -y --no-install-recommends \
20-
git \
21-
build-essential \
22-
python3-dev && \
20+
git && \
2321
apt-get clean && rm -rf /var/lib/apt/lists/*
2422

2523
# Install pio core

0 commit comments

Comments
 (0)