mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-27 09:18:58 +03:00
Merge: fix docker build
Close #789 * commit '27bffef9400615f502f4799fb318254b585fad99': Fix #789
This commit is contained in:
commit
6261fb79ab
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue