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:
@@ -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
|
||||
@@ -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": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user