Skip to content

Commit 6c0340b

Browse files
committed
fix root issue
1 parent 0578c83 commit 6c0340b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

projects/envoyproxy.io/package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ build:
2424
- git add .
2525
- git commit -m "Initialize repository"
2626

27+
# python_rules has a whole thing (which lots of people are complaining about) where it
28+
# refuses to run as root. docker doesn't much care, so...
29+
- run: sed -i 's/ignore_root_user_error = ignore_root_user_error/ignore_root_user_error = True/' repositories_extra.bzl
30+
working-directory: bazel
31+
if: linux
32+
2733
- bazel build $BAZEL_OPTS //source/exe:envoy-static.stripped
2834
- install -m 755 -D bazel-bin/source/exe/envoy-static.stripped {{prefix}}/bin/envoy
2935
env:

0 commit comments

Comments
 (0)