Lightweight coding agent that runs in your terminal
Rust
chore: install `just` in the devcontainer for Linux development (#1375)
Michael Bolin63363a54e5b8
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfileindex 1304c2f9f3..d020dfe734 100644--- a/.devcontainer/Dockerfile+++ b/.devcontainer/Dockerfile@@ -1,4 +1,4 @@-FROM ubuntu:22.04+FROM ubuntu:24.04ARG DEBIAN_FRONTEND=noninteractive# enable 'universe' because musl-tools & clang live there@@ -11,20 +11,17 @@ RUN apt-get update && \RUN apt-get update && \apt-get install -y --no-install-recommends \build-essential curl git ca-certificates \- pkg-config clang musl-tools libssl-dev && \+ pkg-config clang musl-tools libssl-dev just && \rm -rf /var/lib/apt/lists/*-# non-root dev user-ARG USER=dev-ARG UID=1000-RUN useradd -m -u $UID $USER-USER $USER+# Ubuntu 24.04 ships with user 'ubuntu' already created with UID 1000.+USER ubuntu# install Rust + musl target as dev userRUN curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal && \~/.cargo/bin/rustup target add aarch64-unknown-linux-musl && \~/.cargo/bin/rustup component add clippy rustfmt-ENV PATH="/home/${USER}/.cargo/bin:${PATH}"+ENV PATH="/home/ubuntu/.cargo/bin:${PATH}"WORKDIR /workspacediff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonindex 17aee91421..f276868484 100644--- a/.devcontainer/devcontainer.json+++ b/.devcontainer/devcontainer.json@@ -15,15 +15,13 @@"CARGO_TARGET_DIR": "${containerWorkspaceFolder}/codex-rs/target-arm64"},- "remoteUser": "dev",+ "remoteUser": "ubuntu","customizations": {"vscode": {"settings": {- "terminal.integrated.defaultProfile.linux": "bash"+ "terminal.integrated.defaultProfile.linux": "bash"},- "extensions": [- "rust-lang.rust-analyzer"- ],+ "extensions": ["rust-lang.rust-analyzer"]}}}