cubefs/docker/Dockerfile-cfs
leonrayang 5ae500768b feature: support multi version snapshot
Signed-off-by: leonrayang <chl696@sina.com>
2023-08-30 20:05:32 +08:00

13 lines
415 B
Plaintext

FROM centos:7 AS base
RUN curl -o /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo && \
yum install -y bind-utils xfsprogs jq fuse && yum clean all && \
rm -rf /var/cache/yum
RUN mkdir -p /cfs/bin /cfs/conf /cfs/logs /cfs/data
FROM base AS server
COPY build/bin/cfs-server /cfs/bin/
COPY build/bin/cfs-cli /cfs/bin/
FROM base AS client
COPY build/bin/cfs-client /cfs/bin/