Files
base-images/lab/Dockerfile
Luke Else 70c9788f8a
Some checks failed
Build and Push Dev Containers / build (push) Has been cancelled
chore: Updating containers to enable dev
2025-09-25 21:17:26 +01:00

34 lines
680 B
Docker

FROM git.luke-else.co.uk/luke-else/base:latest
# Install core utilities and development tools
RUN apk add --no-cache \
curl \
git \
jq \
openssh \
openssh-client \
sudo \
ca-certificates \
busybox-extras \
net-tools \
iputils \
python3 \
procps \
cargo \
rust-analyzer \
make \
build-base
# Add a non-root user
RUN adduser -D dev && echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
RUN usermod -aG wheel dev
# Switch to non-root user
USER dev
# Set working directory
WORKDIR /home/dev
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.1/zsh-in-docker.sh)"
CMD [ "/bin/zsh" ]