build: made it so dev containers can partly debug

symbol tables appear to be messed up and it doesn't work with async
Rust, so will try to refactor the code to be sync and see how it fares
This commit is contained in:
Andrew Rioux
2023-05-07 14:17:28 -04:00
parent 813dc104e8
commit 8aab9be638
7 changed files with 62 additions and 75 deletions

View File

@@ -38,8 +38,5 @@ RUN apt-get update && \
--component rustfmt --component rust-src --component clippy && \
rm rustup-init && \
chmod -R a+w $RUSTUP_HOME $CARGO_HOME && \
echo "alias make='cargo make'" >> /etc/profile
USER vscode
RUN cargo install cargo-make convco
echo "alias make='cargo make'" >> /etc/profile && \
cargo install cargo-make convco

View File

@@ -25,11 +25,11 @@
"runArgs": [
"--privileged",
"--cap-add=SYS_PTRACE",
"--cap-add=NET_RAW",
"--security-opt",
"seccomp=unconfined"
],
"postStartCommand": "cargo make setup",
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker": {}
}