We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5dc964 commit 115a383Copy full SHA for 115a383
images/peer/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache tzdata
10
# set up nsswitch.conf for Go's "netgo" implementation
11
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
12
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
13
-RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
+RUN echo 'hosts: files dns' > /etc/nsswitch.conf
14
15
FROM golang:${GO_VER}-alpine${ALPINE_VER} as golang
16
RUN apk add --no-cache \
0 commit comments