Skip to content

rfc-impl: remove RUST_VERSION ARG and rust.version label since setup script is not executed - #19

Open
phi9t wants to merge 1 commit into
mainfrom
rfc-impl-rfc013-dockerfile-v1-remove-rust-version-dead-arg
Open

rfc-impl: remove RUST_VERSION ARG and rust.version label since setup script is not executed#19
phi9t wants to merge 1 commit into
mainfrom
rfc-impl-rfc013-dockerfile-v1-remove-rust-version-dead-arg

Conversation

@phi9t

@phi9t phi9t commented Mar 22, 2026

Copy link
Copy Markdown
Owner

RFC implementation: remove RUST_VERSION ARG and rust.version label since setup script is not executed

Currently container/dev_container.dockerfile declares ARG RUST_VERSION=1.79.0 at line 8 and uses it only in LABEL rust.version="${RUST_VERSION}" at line 269. A comment at line 125 states 'Rust will be installed by setup script for proper user configuration' but no COPY or RUN for setup_user_environment.sh exists in the file. The ARG and its LABEL are dead code. Remove ARG RUST_VERSION=1.79.0 (line 8) and LABEL rust.version="${RUST_VERSION}" (line 269). Do not remove PYTHON_VERSION, GO_VERSION, or BAZEL_VERSION as those are functionally used. Acceptance criterion: grep 'RUST_VERSION' container/dev_container.dockerfile returns empty output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant