From 27bffef9400615f502f4799fb318254b585fad99 Mon Sep 17 00:00:00 2001 From: Eugene Zbiranik Date: Tue, 4 Jun 2019 11:03:13 +0300 Subject: [PATCH] Fix #789 --- Dockerfile | 2 +- Dockerfile.travis | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97b4ac30..33a6021d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apk --no-cache --update add ca-certificates libcap && \ mkdir -p /opt/adguardhome/conf /opt/adguardhome/work && \ chown -R nobody: /opt/adguardhome -COPY --from=build --chown=nobody: /src/AdGuardHome/AdGuardHome /opt/adguardhome/AdGuardHome +COPY --from=build --chown=nobody:nogroup /src/AdGuardHome/AdGuardHome /opt/adguardhome/AdGuardHome RUN setcap 'cap_net_bind_service=+eip' /opt/adguardhome/AdGuardHome diff --git a/Dockerfile.travis b/Dockerfile.travis index bdfbb00a..ec8d7133 100644 --- a/Dockerfile.travis +++ b/Dockerfile.travis @@ -7,7 +7,7 @@ RUN apk --no-cache --update add ca-certificates libcap && \ mkdir -p /opt/adguardhome/conf /opt/adguardhome/work && \ chown -R nobody: /opt/adguardhome -COPY --chown=nobody: ./AdGuardHome /opt/adguardhome/AdGuardHome +COPY --chown=nobody:nogroup ./AdGuardHome /opt/adguardhome/AdGuardHome RUN setcap 'cap_net_bind_service=+eip' /opt/adguardhome/AdGuardHome