Apparently `just` was added to `apt` in Ubuntu 24, so this required updating the Ubuntu version in the `Dockerfile` to make it so we could simply `apt install just`. Though then that caused a conflict with the custom `dev` user we were using, though the end result seems simpler since now we just use the default `ubuntu` user provided by Ubuntu 24.
28 lines
605 B
JSON
28 lines
605 B
JSON
{
|
|
"name": "Codex",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "..",
|
|
"platform": "linux/arm64"
|
|
},
|
|
|
|
/* Force VS Code to run the container as arm64 in
|
|
case your host is x86 (or vice-versa). */
|
|
"runArgs": ["--platform=linux/arm64"],
|
|
|
|
"containerEnv": {
|
|
"RUST_BACKTRACE": "1",
|
|
"CARGO_TARGET_DIR": "${containerWorkspaceFolder}/codex-rs/target-arm64"
|
|
},
|
|
|
|
"remoteUser": "ubuntu",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
},
|
|
"extensions": ["rust-lang.rust-analyzer"]
|
|
}
|
|
}
|
|
}
|