Commit 22302e8b authored by daidekun's avatar daidekun

a

parent 5e9f3aac
FROM openjdk:8-jdk
MAINTAINER kalvin "dekun.dai@quantgroup.cn"
# #替换源
RUN mv /etc/apt/sources.list /tmp
RUN echo deb http://mirrors.163.com/debian/ stretch main non-free contrib >> sources.list
RUN echo deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib >> sources.list
RUN echo deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib >> sources.list
RUN echo deb-src http://mirrors.163.com/debian/ stretch main non-free contrib >> sources.list
RUN echo deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib >> sources.list
RUN echo deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib >> sources.list
RUN echo deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib >> sources.list
RUN echo deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib >> sources.list
#安装必要工具
RUN apt-get update \
&& apt-get install -y vi \
&& apt-get install -y telnet \
&& apt-get install -y openssh-server \
&& /etc/init.d/ssh start
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment