3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
zeppelin/docker/development/devenv/Dockerfile
2022-06-01 19:11:44 +03:00

18 lines
456 B
Docker

FROM ubuntu:20.04
ARG DOCKER_UID
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
# Set up SSH access
RUN apt-get update && apt-get install -y openssh-server sudo git
RUN mkdir /var/run/sshd
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u "${DOCKER_UID}" ubuntu
RUN echo 'ubuntu:password' | chpasswd
# Install Node.js 16
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
CMD /usr/sbin/sshd -D -e