欢迎加入qq群472149402一起成长!
Dockerfile
自己做的镜像,包含内容是:
* centos的操作系统
* 东8区
* locale是zh_CN.utf8
* yum安装了bzip2和gcc
* anaconda3.4 + python3
* python的类库有keras2.0.8和tensorflow1.3.0
Dockerfile如下:
FROM centos
LABEL maintainer="yourname <xxx@xxx.com>"
# set timezone
ENV TZ="Hongkong"
# install zh_CN.utf8
RUN localedef -c -i zh_CN -f UTF-8 zh_CN.UTF-8
ENV LANG=zh_CH.utf8
# install something by yum
RUN yum install -y bzip2 \
&& yum install -y gcc
# install anaconda
COPY ./Anaconda3-