3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Initial work on Docker support

This commit is contained in:
Dragory 2022-06-01 19:11:44 +03:00
parent 6df67da3cb
commit 2a959f354c
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
8 changed files with 169 additions and 18 deletions

View file

@ -0,0 +1,18 @@
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