particle-os-modules/modules/apt/Containerfile
2025-08-27 19:42:18 -07:00

22 lines
514 B
Docker

FROM debian:bookworm-slim
# Install required packages
RUN apt-get update && apt-get install -y \
apt \
apt-transport-https \
ca-certificates \
curl \
gnupg \
software-properties-common \
tasksel \
&& rm -rf /var/lib/apt/lists/*
# Copy module files
COPY entrypoint.sh /usr/local/bin/
COPY apt-wrapper.sh /usr/local/bin/
# Make scripts executable
RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/apt-wrapper.sh
# Set entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]