Fix setcap-related issues.

This commit is contained in:
2023-03-22 09:59:09 +00:00
parent 376f6f65a5
commit 60db2e82df
3 changed files with 96 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake pyth
RUN cd / && git clone https://github.com/wrljet/hercules-helper.git
COPY allow-root-build.patch /hercules-helper
RUN cd /hercules-helper && patch hyperion-buildall.sh allow-root-build.patch && ./hyperion-buildall.sh
COPY hercules-helper.conf /hercules-helper/hercules-helper.conf
RUN cd /hercules-helper && patch hyperion-buildall.sh allow-root-build.patch && ./hyperion-buildall.sh --no-setcap
COPY add-herc-helper-to-init.patch /hercules-helper
RUN cd / && patch init /hercules-helper/add-herc-helper-to-init.patch