mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 10:06:14 +00:00
13 lines
415 B
Plaintext
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/
|