Skip to content

Commit

Permalink
fix: Run make_release in privileged docker contaner
Browse files Browse the repository at this point in the history
Otherwise it cannot dynamically download the cargo targets specified by
the rust-toolchain.toml. On main, we solved this by having the targets
be present in the container by default, but that would involve
backporting container updates to the release branch.

Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat committed Feb 16, 2024
1 parent debbb6b commit f0e1938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ cmd_build() {

function cmd_make_release {
run_devctr \
--user "$(id -u):$(id -g)" \
--privileged \
--workdir "$CTR_FC_ROOT_DIR" \
-- \
./tools/release.sh --libc musl --profile release --make-release
Expand Down

0 comments on commit f0e1938

Please sign in to comment.