FROM mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye RUN id -u node &> /dev/null || useradd --groups sudo --no-create-home --shell /bin/bash node \ && echo "node ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/node \ && chmod 0440 /etc/sudoers.d/node RUN sh -c "$(curl -fsSL https://starship.rs/install.sh)" -y -f && echo 'eval "$(starship init bash)"' >> /home/node/.bashrc RUN npm install cnpm -g && cnpm install tsx rimraf @antfu/ni -g