Merge: fix docker build

Close #789

* commit '27bffef9400615f502f4799fb318254b585fad99':
  Fix #789
This commit is contained in:
Simon Zolin 2019-06-04 11:34:16 +03:00
commit 6261fb79ab
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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