Commit 04ebc63f authored by daidekun's avatar daidekun

jdk8

parent 3098924c
FROM openjdk:8-jdk
MAINTAINER kalvin "dekun.dai@quantgroup.cn"
# #替换源
WORKDIR /etc/apt/
RUN mv sources.list /tmp
RUN echo deb http://mirrors.163.com/debian/ stretch main non-free contrib >> sources.list \
&& echo deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib >> sources.list \
&& echo deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib >> sources.list \
&& echo deb-src http://mirrors.163.com/debian/ stretch main non-free contrib >> sources.list \
&& echo deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib >> sources.list \
&& echo deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib >> sources.list \
&& echo deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib >> sources.list \
&& 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 vim \
&& 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