docker基本常用工具安装

1
2
3
4
5
6
7
8
9
10
FROM ubuntu
LABEL MAINTAIER="liuxsen"
RUN sed -i 's/http:\/\/archive\.ubuntu\.com\/ubuntu\//http:\/\/mirrors\.163\.com\/ubuntu\//g' /etc/apt/sources.list
RUN apt-get update \
&& apt-get install -y net-tools \
&& apt-get install -y inetutils-ping \
&& apt-get install -y curl \
&& apt-get install -y vim \
&& apt-get install -y openssh-client \
&& apt-get install -y openssh-server