mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-30 02:48:27 +08:00
21 lines
401 B
Plaintext
Executable File
21 lines
401 B
Plaintext
Executable File
# Ubuntu+python3+ppa
|
|
#
|
|
# Authoer: kennylee26
|
|
|
|
FROM registry.cn-hangzhou.aliyuncs.com/kennylee/python
|
|
|
|
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
|
|
|
# Install.
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get -y upgrade && \
|
|
apt-get install -y build-essential && \
|
|
apt-get install -y software-properties-common && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install pydns
|
|
|
|
# Define default command.
|
|
CMD ["bash"]
|