diff --git a/Dockerfile b/Dockerfile index 76e8a850..458f7cba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,13 @@ RUN set -eux; \ chmod -R g+rwX /home/node; \ chown -R 1000 /home/node +RUN set -eux; \ + apk upgrade --no-cache; \ + apk add --no-cache libcap; \ + rm -rf /var/cache/apk/* + +RUN setcap 'cap_net_raw+ep' $(which node) + # change workgin dir WORKDIR $HOME/