Files
base-images/lab/Dockerfile
Luke Else 2bab7322ec
Some checks failed
Build and Push Dev Containers / build (push) Failing after 2m12s
feat: Added lab containers and improved pipeline to ensure base containers are built first
2025-10-21 22:26:09 +01:00

31 lines
634 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 \
procps \
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" ]