mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux
MIT License
2.45k stars 303 forks source link

convert debian commands to alpine #132

Closed hbakhtiyor closed 5 years ago

hbakhtiyor commented 6 years ago

what are the alternatives of the snippet to alpine?

RUN useradd X --shell /bin/bash --create-home \
  && usermod -a -G sudo X \
  && echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers \
  && echo 'X:nopassword' | chpasswd
mhart commented 5 years ago

Not sure – might be best to ask over at the Alpine forums or similar – this image builds on top of Alpine