Fix dockerfile

This commit is contained in:
世界 2022-11-25 22:59:18 +08:00
parent 2641a43ad8
commit 9f5cc0442b
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -14,7 +14,6 @@ RUN set -ex \
./cmd/sing-box ./cmd/sing-box
FROM alpine AS dist FROM alpine AS dist
LABEL maintainer="nekohasekai <contact-git@sekai.icu>" LABEL maintainer="nekohasekai <contact-git@sekai.icu>"
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN set -ex \ RUN set -ex \
&& apk upgrade \ && apk upgrade \
&& apk add bash tzdata ca-certificates \ && apk add bash tzdata ca-certificates \