Skip to content

Commit

Permalink
etcd, tar xz: --no-same-owner. For "rootless" Jenkins job to work. (#711
Browse files Browse the repository at this point in the history
)

Close #708
  • Loading branch information
Samusername authored Apr 14, 2022
1 parent 01c8361 commit 7f76788
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions postgres-appliance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
# install etcdctl
&& ETCDVERSION=3.3.27 \
&& curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-$(dpkg --print-architecture).tar.gz \
| tar xz -C /bin --strip=1 --wildcards --no-anchored etcdctl etcd \
&& chown root:root /bin/etcd*; \
| tar xz -C /bin --strip=1 --wildcards --no-anchored --no-same-owner etcdctl etcd; \
fi \
\
# Cleanup all locales but en_US.UTF-8 and optionally specified in ADDITIONAL_LOCALES arg
Expand Down

0 comments on commit 7f76788

Please sign in to comment.