Skip to content

Commit f149a96

Browse files
committed
Fix build error
1 parent 8ad3036 commit f149a96

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/alpine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.16
1+
FROM alpine:3.19
22
LABEL maintainer="kev <noreply@datageek.info>, Sah <contact@leesah.name>, vndroid <waveworkshop@outlook.com>"
33

44
ENV SERVER_ADDR=0.0.0.0
@@ -18,6 +18,7 @@ RUN set -x \
1818
cmake \
1919
c-ares-dev \
2020
libcap \
21+
libcap-setcap \
2122
libev-dev \
2223
libsodium-dev \
2324
linux-headers \
@@ -31,7 +32,7 @@ RUN set -x \
3132
&& make install \
3233
&& cd /usr/local/bin \
3334
&& ls /usr/local/bin/ss-* | xargs -n1 setcap cap_net_bind_service+ep \
34-
&& strip $(ls /usr/local/bin | grep -Ev 'ss-nat') \
35+
&& strip $(ls /usr/local/bin | grep -Ev 'ss-nat' | grep -Ev 'ss-setup') \
3536
&& apk del .build-deps \
3637
# Runtime dependencies setup
3738
&& apk add --no-cache \

0 commit comments

Comments
 (0)