-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from Huweicai/master
feat: upgrade to 3.2.0 & separate base layer of image
- Loading branch information
Showing
5 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
FROM centos:7.2.1511 | ||
RUN curl -o /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo && \ | ||
yum install -y wget bind-utils jq fuse | ||
FROM ghcr.io/cubefs/cfs-csi-base:v0.0.1 | ||
RUN mkdir -p /cfs/bin /cfs/conf /cfs/logs | ||
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd64 /bin/tini | ||
ADD start.sh /cfs/bin | ||
ADD bin/cfs-client /cfs/bin | ||
ADD bin/cfs-csi-driver /cfs/bin | ||
ADD start.sh /cfs/bin | ||
RUN chmod +x /bin/tini && chmod +x /cfs/bin/cfs-client && chmod +x /cfs/bin/cfs-csi-driver && chmod +x /cfs/bin/start.sh | ||
ENTRYPOINT [ "/bin/tini", "--" ] | ||
CMD [""] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM centos:7 | ||
RUN yum install -y wget bind-utils jq fuse && \ | ||
yum clean all && rm -rf /var/cache/yum | ||
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd64 /bin/tini | ||
RUN chmod +x /bin/tini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters