您的位置:首页 > 运维架构 > Docker

dockerfile-python

2016-06-24 21:42 399 查看
#
# Python Dockerfile
#
# https://github.com/dockerfile/python #

# Pull base image.
FROM ubuntu

# Install Python.
RUN \
apt-get update && \
apt-get install -y python python-dev python-pip python-virtualenv && \
rm -rf /var/lib/apt/lists/*

# Define working directory.
WORKDIR /data

# Define default command.
CMD ["bash"]


本文出自 “无伤” 博客,请务必保留此出处http://wushang.blog.51cto.com/10078847/1792740
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: