Reorganisation fichiers

This commit is contained in:
Serge NOEL
2026-02-13 08:49:53 +01:00
parent ec9957d5b1
commit 758f73bc0e
33 changed files with 977 additions and 499 deletions

View File

@@ -1,24 +1,22 @@
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 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
# 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
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 mkdir /var/run/sshd
RUN echo 'root:root' | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
EXPOSE 22