feat: Updated lab and rust images
All checks were successful
Build and Push Dev Containers / build (push) Successful in 4m58s

This commit is contained in:
2025-09-11 00:15:01 +01:00
parent 9291383358
commit e6f751851b
2 changed files with 9 additions and 13 deletions

View File

@@ -1,16 +1,12 @@
FROM alpine:latest FROM git.luke-else.co.uk/luke-else/base:latest
# Install core utilities and development tools # Install core utilities and development tools
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \
curl \ curl \
git \ git \
jq \ jq \
helix \
openssh \ openssh \
sudo \ sudo \
shadow \
zsh \
ca-certificates \ ca-certificates \
busybox-extras \ busybox-extras \
net-tools \ net-tools \
@@ -26,10 +22,12 @@ RUN apk add --no-cache \
RUN adduser -D dev && echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers RUN adduser -D dev && echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
RUN usermod -aG wheel dev RUN usermod -aG wheel dev
RUN chsh -s /bin/zsh dev
# Set working directory
WORKDIR /home/dev
# Switch to non-root user # Switch to non-root user
USER dev USER dev
# Default command
# 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" ] CMD [ "/bin/zsh" ]

View File

@@ -1,5 +1,3 @@
FROM git.luke-else.co.uk/luke-else/base:latest FROM git.luke-else.co.uk/luke-else/base:latest
RUN apk add --no-cache rust
RUN apk add --no-cache cargo RUN apk add --no-cache cargo