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

Fix the bug: download cc multiple times in buildx #346

Merged
merged 1 commit into from
Aug 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hack/lib/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ sedna::buildx::prepare_env() {
docker buildx create --use --name $builder_instance --driver docker-container
fi
docker buildx use $builder_instance

# go speed tag with CGO_ENABLED=1 and alpine image
_speed_buildx_for_cgo_alpine_
}

_speed_buildx_for_go_() {
Expand Down Expand Up @@ -101,8 +104,6 @@ sedna::buildx:generate-speed-dockerfile() {
# go speed tag
_speed_buildx_for_go_

# go speed tag with CGO_ENABLED=1 and alpine image
_speed_buildx_for_cgo_alpine_
)

local base_cmds='
Expand Down