From 412c8d160e79f0d2a4bf7e3c9fad78c6e4a4ce50 Mon Sep 17 00:00:00 2001 From: adams549659584 <13760614423@163.com> Date: Sat, 25 Mar 2023 23:49:24 +0800 Subject: [PATCH] fix: :bug: fix docker build faild --- deploy/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index afca611b..3d2ae162 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -22,7 +22,7 @@ LABEL maintainer="mritd " # set up nsswitch.conf for Go's "netgo" implementation # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf -RUN [ ! -e "/etc/nsswitch.conf" ] && echo 'hosts: files dns' > /etc/nsswitch.conf +RUN echo 'hosts: files dns' > /etc/nsswitch.conf # default timezon # override it with `--build-arg TIMEZONE=xxxx`