mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-29 18:38:34 +08:00
21 lines
389 B
Docker
Executable File
21 lines
389 B
Docker
Executable File
# Ubuntu+python3
|
|
#
|
|
# Authoer: kennylee26
|
|
|
|
FROM registry.cn-hangzhou.aliyuncs.com/kennylee/ubuntu:xenial
|
|
|
|
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get install -y python3 python-dev python-pip python-virtualenv && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install pydns
|
|
|
|
# Define working directory.
|
|
WORKDIR /data
|
|
|
|
# Define default command.
|
|
CMD ["bash"]
|