diff --git a/Docker/Dockerfile b/Docker/Dockerfile index c1ca2bc..1350d29 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile by xianhu: build a docker image for spider or flask -# usage: docker build -t user/centos:v11 . +# usage: docker build -t user/centos:v12 . FROM centos:6.8 @@ -12,6 +12,9 @@ ENV LC_ALL en_US.UTF-8 # change system local time RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime +# fix: warning: rpmts_HdrFromFdno +rpm --import /etc/pki/rpm-gpg/RPM* + # update yum and install something RUN yum update -y RUN yum install -y xz