Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 60e3c63

Browse files
committed
Fixed su-exec #2581
1 parent 48d2f8b commit 60e3c63

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4664,11 +4664,10 @@ tools:
46644664
46654665
- name: su-exec
46664666
version: 0.2
4667-
#check: ${binary}
46684667
needs:
46694668
- docker
46704669
tags:
4671-
- XXX
4670+
- sudo
46724671
dockerfile: |
46734672
FROM ubuntu:22.04
46744673
RUN apt-get update \
@@ -4679,7 +4678,7 @@ tools:
46794678
docker_run \
46804679
--workdir /go/src/github.com/ncopa/su-exec \
46814680
<<EOF
4682-
git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://github.com/ncopa/su-exec .
4681+
git clone -q --config advice.detachedHead=false --depth 1 --branch "v${version}" https://github.com/ncopa/su-exec .
46834682
make su-exec-static
46844683
cp su-exec-static /target/bin/su-exec
46854684
EOF

0 commit comments

Comments
 (0)