10 lines
312 B
Docker
10 lines
312 B
Docker
FROM library/node:lts-bookworm
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt update \
|
|
&& apt install -y --no-install-recommends sudo telnet \
|
|
&& 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
|