# Simple CLI - Debian-based particle-os system # Based on Aurora's architecture pattern FROM debian:trixie-slim # Install core system packages RUN apt-get update && apt-get install -y \ systemd \ systemd-sysv \ udev \ procps \ util-linux \ mount \ passwd \ login \ bash \ coreutils \ ostree \ ostree-boot \ linux-image-amd64 \ linux-headers-amd64 \ initramfs-tools \ curl \ wget \ vim \ less \ locales \ ca-certificates \ tzdata \ && rm -rf /var/lib/apt/lists/* # Configure locale RUN locale-gen en_US.UTF-8 ENV LANG=en_US.UTF-8 # Configure timezone ENV TZ=UTC # Create user RUN useradd -m -s /bin/bash simple # Configure OSTree RUN mkdir -p /usr/lib/ostree-boot # Copy configuration files (will be layered in) COPY usr/ /usr/ COPY etc/ /etc/ COPY config/ /config/ # Set up firstboot scripts RUN mkdir -p /usr/share/particle-os/firstboot COPY usr/share/particle-os/firstboot/ /usr/share/particle-os/firstboot/ # Set up ujust commands RUN mkdir -p /usr/share/particle-os/just COPY usr/share/particle-os/just/ /usr/share/particle-os/just/ # Clean up package management files RUN rm -f /var/lib/dpkg/info/*.postinst \ && rm -f /var/lib/dpkg/info/*.postrm \ && rm -f /var/lib/dpkg/info/*.prerm # Set default command CMD ["/bin/bash"]