Skip to content

Commit 115a383

Browse files
Update images/peer/Dockerfile
I agree Signed-off-by: Frank Felhoffer <[email protected]> Co-authored-by: Gari Singh <[email protected]>
1 parent b5dc964 commit 115a383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/peer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apk add --no-cache tzdata
1010
# set up nsswitch.conf for Go's "netgo" implementation
1111
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
1212
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
13-
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
13+
RUN echo 'hosts: files dns' > /etc/nsswitch.conf
1414

1515
FROM golang:${GO_VER}-alpine${ALPINE_VER} as golang
1616
RUN apk add --no-cache \

0 commit comments

Comments
 (0)