Name: python-sample-base-image
Owner: DaoCloud.io
Description: null
Created: 2015-08-24 09:49:23.0
Updated: 2018-05-07 06:10:47.0
Pushed: 2016-04-21 07:45:20.0
Homepage: null
Size: 7
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
?????????? Python ??????????????????????????????????????
???????? DaoCloud/python-sample-base-image ????
???? GitHub ??????????????????????
ubuntu:trusty
???????????????????????????????????????????? DaoCloud ?????
daocloud.io/ubuntu:trusty
TAINER Captain Dao <support@daocloud.io>
RUN
???? apt-get ?????? Python ??????????????????????????????????????????????????
??????????????????????
apt-get update && \
apt-get install -y python \
python-dev \
python-pip && \
rm -rf /var/lib/apt/lists/*
???????????????????????????????????????????
apt-get update && \ t-get install -y python \ python-dev \ python-pip rm -rf /var/lib/apt/lists/*
RUN
???? mkdir
????????????????mkdir -p /app
DIR /app
SE 80
["bash"]
???? Python ?????????????????? docker build -t my-python-base .
???????????? my-python-base
?
Python ????????????????????????????????????
?????????????????
docker build
??????????????????? DaoCloud Toolbox ? DaoCloud ??? ???? ???
untu 14.04?Trusty Tahr???????????
daocloud.io/ubuntu:trusty
??????
TAINER Captain Dao <support@daocloud.io>
T ???? PHP ??????????????????
apt-get update && \
apt-get install -y python \
python-dev \
python-pip \
# ????????????????????????
&& apt-get clean \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
???? App ???
mkdir -p /app
DIR /app
SE 80
["bash"]