2024-08-24 01:25:16 +00:00
|
|
|
FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
|
|
|
|
|
2024-12-12 15:58:19 +00:00
|
|
|
USER root
|
|
|
|
|
|
|
|
# trunk-ignore(terrascan/AC_DOCKER_0002): Known terrascan issue
|
|
|
|
# trunk-ignore(hadolint/DL3008): Use latest version of packages
|
2024-08-24 01:25:16 +00:00
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
&& apt-get -y install --no-install-recommends \
|
|
|
|
ca-certificates \
|
|
|
|
g++ \
|
|
|
|
git \
|
|
|
|
libbluetooth-dev \
|
|
|
|
libgpiod-dev \
|
|
|
|
liborcania-dev \
|
|
|
|
libssl-dev \
|
|
|
|
libulfius-dev \
|
|
|
|
libyaml-cpp-dev \
|
2024-08-26 16:15:42 +00:00
|
|
|
pipx \
|
2024-08-24 01:25:16 +00:00
|
|
|
pkg-config \
|
|
|
|
python3 \
|
|
|
|
python3-pip \
|
|
|
|
python3-venv \
|
|
|
|
python3-wheel \
|
|
|
|
wget \
|
|
|
|
zip \
|
2024-12-12 15:58:19 +00:00
|
|
|
usbutils \
|
|
|
|
hwdata \
|
|
|
|
gpg \
|
|
|
|
gnupg2 \
|
2024-08-24 01:25:16 +00:00
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2024-12-12 15:58:19 +00:00
|
|
|
RUN pipx install platformio==6.1.15
|
|
|
|
|
|
|
|
COPY 99-platformio-udev.rules /etc/udev/rules.d/99-platformio-udev.rules
|
|
|
|
|
|
|
|
USER vscode
|
|
|
|
|
|
|
|
HEALTHCHECK NONE
|