build(docker): specify user for runner stage #7641
build(docker): specify user for runner stage
e37e371b
pixincreate
added this to the March 2025 Release milestone 17 days ago
pixincreate
marked this pull request as ready for review 16 days ago
pixincreate
force pushed
from
4c46d598
to
33a9fa9e
16 days ago
fix: change user after moving binary
c8afc721
pixincreate
force pushed
from
33a9fa9e
to
c8afc721
16 days ago
pixincreate
force pushed
from
5b01c871
to
5e68f3c7
16 days ago
pixincreate
force pushed
from
5e68f3c7
to
3b079979
16 days ago
refactor: do not create system group
1ceb3598
pixincreate
force pushed
from
3b079979
to
1ceb3598
16 days ago
chore(docker): remove extra blank line
f7a7cd1a
Type of Change
Description
This PR modifies the
Dockerfile
to specify the user at runner stage.Additional Changes
Motivation and Context
From the security perspective, it is better to be a
user
rather than being aroot
.Closes #7643
How did you test it?
build succeeded (tested by making a debug build):
Checklist
cargo +nightly fmt --all
cargo clippy