2023-11-07 19:44:47 +08:00
|
|
|
From python:3.9.18-bookworm
|
2023-09-28 10:58:58 +08:00
|
|
|
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
2023-11-07 19:44:47 +08:00
|
|
|
COPY ./requirements.txt /home/user/docker_requirements.txt
|
2023-09-28 10:58:58 +08:00
|
|
|
COPY ./jupyter_start.sh /home/user/jupyter_start.sh
|
|
|
|
|
2023-11-07 19:44:47 +08:00
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y iputils-ping telnetd net-tools vim tcpdump
|
|
|
|
# RUN echo telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd /etc/inetd.conf
|
|
|
|
# RUN service inetutils-inetd start
|
|
|
|
# service inetutils-inetd status
|
|
|
|
|
2023-12-07 20:17:21 +08:00
|
|
|
RUN wget https://oss-cdn.nebula-graph.com.cn/package/3.6.0/nebula-graph-3.6.0.ubuntu1804.amd64.deb
|
|
|
|
RUN dpkg -i nebula-graph-3.6.0.ubuntu1804.amd64.deb
|
2023-11-07 19:44:47 +08:00
|
|
|
|
2023-09-28 10:58:58 +08:00
|
|
|
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
RUN pip install -r /home/user/docker_requirements.txt
|
|
|
|
|
|
|
|
CMD ["bash"]
|