enigma-bbs/.devcontainer/Dockerfile

10 lines
312 B
Docker
Raw Normal View History

2023-08-27 17:25:36 +00:00
FROM library/node:lts-bookworm
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update \
2023-08-28 00:04:17 +00:00
&& apt install -y --no-install-recommends sudo telnet \
2023-08-27 17:25:36 +00:00
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& echo "node ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/node \
&& chmod 0440 /etc/sudoers.d/node