first commit

This commit is contained in:
2025-11-12 22:28:12 +00:00
commit 42535a81b2
9 changed files with 1846 additions and 0 deletions

20
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM docker:dind
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN apk add --no-cache \
curl \
bash \
build-base \
openssl-dev \
&& addgroup -g ${USER_GID} ${USERNAME} \
&& adduser -D -u ${USER_UID} -G ${USERNAME} -s /bin/bash ${USERNAME} \
&& addgroup ${USERNAME} docker
USER ${USERNAME}
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
USER root
CMD ["/usr/local/bin/dockerd-entrypoint.sh"]

View File

@@ -0,0 +1,21 @@
{
"name": "Docker DinD + Rust",
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--privileged"
],
"overrideCommand": false,
"remoteUser": "vscode",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"fill-labs.dependi",
"tamasfe.even-better-toml"
],
"settings": {}
}
}
}