Update Dockerfile

添加centos版本, gcc-c ++ 改为gcc-c++
pull/348/head
saintkay 2019-11-13 17:22:45 +08:00 committed by GitHub
parent 86cd69ed2d
commit 52ac538a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# centos 7
FROM centos
FROM centos:7
# 添加配置文件
# add profiles
ADD conf/client.conf /etc/fdfs/
@ -19,7 +19,7 @@ ADD source/fastdfs-nginx-module.tar.gz /usr/local/src/
ADD source/nginx-1.15.4.tar.gz /usr/local/src/
# Run
RUN yum install git gcc gcc-c ++ make automake autoconf libtool pcre pcre-devel zlib zlib-devel openssl-devel wget vim -y \
RUN yum install git gcc gcc-c++ make automake autoconf libtool pcre pcre-devel zlib zlib-devel openssl-devel wget vim -y \
&& mkdir /home/dfs \
&& cd /usr/local/src/ \
&& cd libfastcommon/ \