22 lines
514 B
Docker
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"]
|