Skip to content

Commit

Permalink
Update images/peer/Dockerfile
Browse files Browse the repository at this point in the history
I agree

Signed-off-by: Frank Felhoffer <frank.felhoffer@securekey.com>
Co-authored-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
silveraid and mastersingh24 committed May 22, 2020
1 parent e622699 commit bdfe1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/peer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bdfe1af

Please sign in to comment.