Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
修改小bug
  • Loading branch information
SaintKayLuk committed Nov 13, 2019
1 parent 6712843 commit 86cd69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/dockerfile_network/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# centos 7
FROM centos
FROM centos:7
# 添加配置文件
ADD conf/client.conf /etc/fdfs/
ADD conf/http.conf /etc/fdfs/
Expand All @@ -11,7 +11,7 @@ ADD conf/nginx.conf /etc/fdfs/
ADD conf/mod_fastdfs.conf /etc/fdfs

# 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 \
&& cd /usr/local/src \
&& git clone https://github.com/happyfish100/libfastcommon.git --depth 1 \
&& git clone https://github.com/happyfish100/fastdfs.git --depth 1 \
Expand Down

5 comments on commit 86cd69e

@fwq418233640
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@qdzxx
Copy link

@qdzxx qdzxx commented on 86cd69e May 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dockerfile中VOLUME持久化的是 /etc/fdfs还是/home/fdfs

@fwq418233640
Copy link
Contributor

@fwq418233640 fwq418233640 commented on 86cd69e May 30, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fwq418233640
Copy link
Contributor

@fwq418233640 fwq418233640 commented on 86cd69e May 30, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qdzxx
Copy link

@qdzxx qdzxx commented on 86cd69e Jun 1, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.