Skip to content

Commit 1d85934

Browse files
committed
update dockerfile, version 12
1 parent 5ce9e45 commit 1d85934

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dockerfile by xianhu: build a docker image for spider or flask
2-
# usage: docker build -t user/centos:v11 .
2+
# usage: docker build -t user/centos:v12 .
33

44
FROM centos:6.8
55

@@ -12,6 +12,9 @@ ENV LC_ALL en_US.UTF-8
1212
# change system local time
1313
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
1414

15+
# fix: warning: rpmts_HdrFromFdno
16+
rpm --import /etc/pki/rpm-gpg/RPM*
17+
1518
# update yum and install something
1619
RUN yum update -y
1720
RUN yum install -y xz

0 commit comments

Comments
 (0)