This commit is contained in:
2026-02-12 07:13:04 +01:00
parent 7206746130
commit ec9957d5b1
593 changed files with 2016 additions and 476236 deletions

View File

@@ -0,0 +1,29 @@
FROM python:3.11
RUN python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
RUN platformio platforms install atmelavr \
--with-package framework-arduinoavr
RUN platformio platforms install ststm32 \
--with-package framework-libopencm3 \
--with-package framework-spl \
--with-package framework-cmsis \
--with-package framework-mbed
# Install PlatformIO
# RUN pip install platformio
# Install OpenSSH for remote access
RUN apt-get update && apt-get install -y openssh-server && rm -rf /var/lib/apt/lists/*
# Set up SSH
RUN mkdir /var/run/sshd
RUN echo 'root:root' | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
EXPOSE 22
# Set working directory
WORKDIR /workspace
CMD ["/usr/sbin/sshd", "-D"]