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:
parent
6df67da3cb
commit
2a959f354c
8 changed files with 169 additions and 18 deletions
18
docker/development/devenv/Dockerfile
Normal file
18
docker/development/devenv/Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue