Block a user
embedded/platformio (latest)
Published 2026-01-25 20:47:30 +03:00 by tevfik
Installation
docker pull git.bezg.in/tevfik/embedded/platformio:latestsha256:b9cb2e72142acfc7c6016ca7e6f8a1878f514dcf25a30277cd73dafa9a9575fe
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:b499000226bd9a7c562ffa8eeb86e2d170f2a563310db6c2d79562ab53e5cb6e in / |
| CMD ["/bin/bash"] |
| LABEL maintainer=Embedded Development |
| LABEL description=PlatformIO development environment for multi-platform embedded development |
| LABEL version=1.0 |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV TZ=UTC |
| RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3-venv git git-lfs curl wget build-essential cmake udev libusb-1.0-0-dev ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c pip3 install --no-cache-dir platformio # buildkit |
| RUN /bin/sh -c pio platform install atmelavr # buildkit |
| RUN /bin/sh -c pio platform install atmelsam # buildkit |
| RUN /bin/sh -c pio platform install espressif8266 # buildkit |
| RUN /bin/sh -c pio platform install espressif32 # buildkit |
| RUN /bin/sh -c pio platform install ststm32 # buildkit |
| RUN /bin/sh -c pio platform install nordicnrf52 # buildkit |
| RUN /bin/sh -c pio platform install raspberrypi # buildkit |
| RUN /bin/sh -c curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/master/platformio/assets/system/99-platformio-udev.rules -o /etc/udev/rules.d/99-platformio-udev.rules # buildkit |
| ARG USERNAME=developer |
| ARG USER_UID=1000 |
| ARG USER_GID=1000 |
| RUN |3 USERNAME=developer USER_UID=1000 USER_GID=1000 /bin/sh -c groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && usermod -aG dialout,plugdev $USERNAME # buildkit |
| ENV PLATFORMIO_CORE_DIR=/home/developer/.platformio |
| WORKDIR /workspace |
| USER developer |
| RUN |3 USERNAME=developer USER_UID=1000 USER_GID=1000 /bin/sh -c pio --version && pio platform list && echo "PlatformIO Development Container Ready!" # buildkit |
| CMD ["/bin/bash"] |
Labels
| Key | Value |
|---|---|
| description | PlatformIO development environment for multi-platform embedded development |
| maintainer | Embedded Development |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |
| version | 1.0 |