Files
herald/.devcontainer/Dockerfile
T
qpismont 15f619ccf7
ci/woodpecker/push/tests Pipeline was successful
Move to multi crates project
Starting impl devcontainer spec
2026-07-31 20:06:37 +00:00

28 lines
543 B
Docker

FROM rust:1.97-trixie
ARG USERNAME=dev
ARG USER_UID=1000
ARG USER_GID=1000
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
build-essential \
libssl-dev \
cmake \
pkg-config \
clang \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd --gid ${USER_GID:-1000} $USERNAME \
&& useradd --uid ${USER_UID:-1000} --gid ${USER_GID:-1000} -m $USERNAME \
&& rustup component add clippy
USER $USERNAME
WORKDIR /home/$USERNAME