forked from sglahn/docker-platformio-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 713 Bytes
/
Dockerfile
File metadata and controls
20 lines (15 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3-slim
ENV APP_VERSION="6.1.19" \
APP="platformio-core"
LABEL app.name="${APP}" \
app.version="${APP_VERSION}" \
maintainer="Sam Groveman <Groveman@fabrica-io.com>"
RUN pip install -U platformio==${APP_VERSION} && \
mkdir -p /workspace && \
mkdir -p /.platformio && \
chmod a+rwx /.platformio && \
# Uncomment below line to disable PIO telemetry https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html#enable-telemetry
# pio settings set enable_telemetry false && \
apt update && apt install -y git && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
WORKDIR /workspace
ENTRYPOINT ["platformio"]