convert debian commands to alpine
hbakhtiyor opened this issue · comments
Abd ar-Rahman Hamidi commented
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
Michael Hart commented
Not sure – might be best to ask over at the Alpine forums or similar – this image builds on top of Alpine