Update rust.dockerfile
All checks were successful
Build and Push Docker Images / docker (push) Successful in 21m7s

This commit is contained in:
2026-06-26 04:52:49 +00:00
parent 412ca2d6c5
commit 54c5b1d4a1

View File

@@ -1,23 +1,3 @@
FROM debian:13.4-slim FROM git.harryesses.com/harryesses/base:latest
USER root
RUN apt-get update && apt-get install -y \
wget \
gcc \
make \
sudo \
git \
curl \
jq \
unzip
# Create `coder` user
RUN useradd coder \
--create-home \
--shell=/bin/bash \
--uid=1000 \
--user-group
RUN echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd
USER coder USER coder
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y