nsqio / nsq

A realtime distributed messaging platform
https://nsq.io
MIT License
24.72k stars 2.89k forks source link

Dockerfile: handle non-existing nsswitch.conf properly #1474

Closed martin-sucha closed 6 months ago

martin-sucha commented 7 months ago

The RUN step fails with exit code 1 if using [ directly without if. Added if clause so that the build can proceed if /etc/nsswitch.conf already exists.

mreiferson commented 6 months ago

thanks, but @dudleycarr fixed this in #1478