Sign inSign up

bomb/fdfs-base

By bomb

•Updated almost 8 years ago

from centos 7 installed fastdfs v5.11

Image
1

87

bomb/fdfs-base repository overview

docker file :

#This dockerfile uses the centos:7 image

⁠VERSION 1

⁠Author: bomb

FROM centos:7

#MAINTAINER MAINTAINER Bomb

ARG user=docker ARG group=docker ARG uid=1000 ARG gid=1000

COPY ./soft /opt/fdfs

WORKDIR /opt/fdfs

RUN yum install -y gcc make perl
&& cd /opt/fdfs/libfastcommon-1.0.36
&& ./make.sh && ./make.sh install
&& cd /opt/fdfs/fastdfs-5.11
&& ./make.sh && ./make.sh install
&& rm /etc/fdfs/*
&& cp /opt/fdfs/fastdfs-5.11/conf/* /etc/fdfs/
&& rm -rf /opt/fdfs/*
&& groupadd -g ${gid} ${group}
&& useradd -u ${uid} -g ${gid} ${user}
&& yum clean all

Tag summary

Content type

Image

Digest

Size

111.5 MB

Last updated

almost 8 years ago

docker pull bomb/fdfs-base:5.11