mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convert debian commands to alpine

hbakhtiyor opened this issue · comments

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

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