Skip to content

Commit

Permalink
fix setcap not found
Browse files Browse the repository at this point in the history
  • Loading branch information
weibaohui authored Feb 12, 2021
1 parent 6297048 commit e09d184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN rm -fr pipy/build \

RUN rm -fr /pipy \
&& adduser -Su 1340 pipy \
&& apk add --no-cache libstdc++ su-exec tar curl busybox-extras iptables tzdata socat logrotate jq \
&& apk add --no-cache libcap libstdc++ su-exec tar curl busybox-extras iptables tzdata socat logrotate jq \
&& chown -R pipy:0 /usr/local/bin/pipy /etc/pipy \
&& chmod -R g=u /usr/local/bin/pipy /etc/pipy \
&& setcap cap\_net\_admin=eip /usr/local/bin/pipy
Expand Down

0 comments on commit e09d184

Please sign in to comment.