Skip to content

Commit 610fd63

Browse files
authored
Merge pull request #439 from pjbgf/remove-nssswitch
Remove nsswitch.conf creation
2 parents 921ebc0 + 16bdf5a commit 610fd63

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ RUN apk add --no-cache ca-certificates tini
3939

4040
COPY --from=builder /workspace/notification-controller /usr/local/bin/
4141

42-
# Create minimal nsswitch.conf file to prioritize the usage of /etc/hosts over DNS queries.
43-
# https://github.com/gliderlabs/docker-alpine/issues/367#issuecomment-354316460
44-
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
45-
4642
USER 65534:65534
4743

4844
ENTRYPOINT [ "/sbin/tini", "--", "notification-controller" ]

0 commit comments

Comments
 (0)