From bdfe1af2db88470db5ce0f84c645db66d69afb1a Mon Sep 17 00:00:00 2001 From: Frank Felhoffer Date: Thu, 7 May 2020 08:54:39 -0400 Subject: [PATCH] Update images/peer/Dockerfile I agree Signed-off-by: Frank Felhoffer Co-authored-by: Gari Singh --- images/peer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/peer/Dockerfile b/images/peer/Dockerfile index 18a4c74e523..5ce9da4796e 100644 --- a/images/peer/Dockerfile +++ b/images/peer/Dockerfile @@ -10,7 +10,7 @@ RUN apk add --no-cache tzdata # 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 FROM golang:${GO_VER}-alpine${ALPINE_VER} as golang RUN apk add --no-cache \