FROM manuth/silverstripe-dev RUN apt-get update && \ apt-get -y install sudo && \ rm -rf /var/lib/apt/lists/* RUN adduser --disabled-password --gecos '' vscode && \ sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' && \ sed -i /etc/sudoers -re 's/^root.*/root ALL=(ALL:ALL) NOPASSWD: ALL/g' && \ echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers