mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-17 18:39:53 +03:00
Simplify Dockerfile Alpine Linux apk usage
Remove additional `--update` and manual clean up for apk in Dockerfile
This commit is contained in:
parent
773b80a969
commit
b29f320fd4
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ LABEL\
|
||||||
org.opencontainers.image.version=$VERSION
|
org.opencontainers.image.version=$VERSION
|
||||||
|
|
||||||
# Update certificates.
|
# Update certificates.
|
||||||
RUN apk --no-cache --update add ca-certificates libcap tzdata && \
|
RUN apk --no-cache add ca-certificates libcap tzdata && \
|
||||||
rm -rf /var/cache/apk/* && \
|
|
||||||
mkdir -p /opt/adguardhome/conf /opt/adguardhome/work && \
|
mkdir -p /opt/adguardhome/conf /opt/adguardhome/work && \
|
||||||
chown -R nobody: /opt/adguardhome
|
chown -R nobody: /opt/adguardhome
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue