From d00041c0907fdf513e87b71c3176c4ca9e365983 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Thu, 14 Aug 2025 01:00:03 +0100 Subject: [PATCH] feat: Attempting to re-upload the lab container --- lab/Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lab/Dockerfile diff --git a/lab/Dockerfile b/lab/Dockerfile new file mode 100644 index 0000000..8a60657 --- /dev/null +++ b/lab/Dockerfile @@ -0,0 +1,35 @@ +FROM alpine:latest + +# Install core utilities and development tools +RUN apk add --no-cache \ + bash \ + curl \ + git \ + jq \ + helix \ + openssh \ + sudo \ + shadow \ + zsh \ + ca-certificates \ + busybox-extras \ + net-tools \ + iputils \ + python3 \ + rust \ + cargo \ + go \ + nodejs \ + npm \ + make \ + build-base + +# Add a non-root user +RUN adduser -D dev && echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers +RUN chsh -s /bin/zsh dev +# Set working directory +WORKDIR /home/dev +# Switch to non-root user +USER dev +# Default command +CMD ["/bin/zsh"] \ No newline at end of file