update dockerfile, version 12
parent
5ce9e45f59
commit
1d8593421e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue