Files
steep/.devcontainer/Dockerfile
T
qpismont d74db2096c
ci/woodpecker/push/tests Pipeline was successful
Project website + use Apalis crate for task queue (with redis backend)
instead channel and semaphore queue + upgrade to rust 1.99
2026-10-05 20:44:57 +00:00

31 lines
620 B
Docker

FROM rust:1.99-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 \
valkey-server \
valkey-tools \
&& 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 \
&& rustup component add rustfmt
USER $USERNAME
WORKDIR /home/$USERNAME