Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-1.4使用make docker-build构建镜像出错 #1362

Closed
song0071000 opened this issue Aug 10, 2023 · 3 comments
Closed

release-1.4使用make docker-build构建镜像出错 #1362

song0071000 opened this issue Aug 10, 2023 · 3 comments
Assignees
Labels
kind/bug Something isn't working wontfix This will not be worked on

Comments

@song0071000
Copy link

song0071000 commented Aug 10, 2023

release-1.4使用make docker-build构建镜像出错,信息如下:

=> ERROR [stage-1 2/5] RUN apk add --no-cache ca-certificates=~20220614-r4 bash=~5.2.15-r0 expat=~2.5.0-r0 && 4.3s
------
> [stage-1 2/5] RUN apk add --no-cache ca-certificates=~20220614-r4 bash=~5.2.15-r0 expat=~2.5.0-r0 && rm -rf /var/cache/apk/:
#6 0.365 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz
#6 3.250 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz
#6 4.227 ERROR: unable to select packages:
#6 4.243 ca-certificates-20230506-r0:
#6 4.243 breaks: world[ca-certificates~20220614-r4]
------
executor failed running [/bin/sh -c apk add --no-cache ca-certificates=~20220614-r4 bash=~5.2.15-r0 expat=~2.5.0-r0 && rm -rf /var/cache/apk/
]: exit code: 1
make: *** [docker-build] Error 1

怎么调整能使其正常构建?

@zmberg
Copy link
Member

zmberg commented Aug 15, 2023

RUN apk add --no-cache ca-certificates bash expat \
  && rm -rf /var/cache/apk/*

And you can submit the pr for this fix.

@zmberg zmberg added the kind/bug Something isn't working label Aug 15, 2023
@liangyuanpeng
Copy link
Contributor

/assign

Copy link

stale bot commented Nov 27, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 27, 2023
@stale stale bot closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants