Skip to content

Commit

Permalink
feat(publish-api-asset-action): add Dockerfile.update-ca
Browse files Browse the repository at this point in the history
  • Loading branch information
sfwn committed Dec 3, 2024
1 parent 6f60c46 commit 63cbadb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions actions/publish-api-asset/1.0/Dockerfile.update-ca
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# registry.erda.cloud/erda-actions/publish-api-asset-action:1.0-20241203163543-c58ff05
FROM registry.erda.cloud/erda-actions/publish-api-asset-action:20201010-92fb804

# change mirror to aliyun, original mirrors offlined.
RUN mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup && \
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo && \
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo

RUN yum install -y ca-certificates

0 comments on commit 63cbadb

Please sign in to comment.