first commit

This commit is contained in:
2026-05-18 22:32:23 +02:00
commit 2cf50b0168
10 changed files with 2045 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
FROM debian: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 \
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
USER $USERNAME
WORKDIR /home/$USERNAME
ENV PATH="/home/${USERNAME}/.cargo/bin:${PATH}"
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
+19
View File
@@ -0,0 +1,19 @@
{
"name": "herald",
"build": {
"dockerfile": "Dockerfile",
"args": {
"USERNAME": "dev",
"USER_UID": "${localEnv:UID}",
"USER_GID": "${localEnv:GID}"
}
},
"remoteUser": "dev",
"containerEnv": {
"SHELL": "/bin/bash"
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/herald,type=bind",
"workspaceFolder": "/workspaces/herald",
"runArgs": ["--userns=keep-id", "--security-opt", "label=disable"],
"appPort": [3000]
}