-
Notifications
You must be signed in to change notification settings - Fork 24
Linux build update #1460
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
Merged
Merged
Linux build update #1460
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
56db0f3
switch to a new ubuntu bionic based image for faster compilation of g…
sgagniere 4e9fc9e
update base image tags in the dockerfiles
sgagniere ed4bf11
remove windows format override in glibc goreleaser file since it does…
sgagniere 2f61949
changed centos to ubuntu in the image name for the updated arm64 buil…
sgagniere b4d5b15
Add support for building the arm64 binary inside an arm64 image when …
sgagniere 1d0c54d
Merge branch 'main' of github.com:confluentinc/cli into linux-build-u…
sgagniere ad7fe22
updated the m1 dockerfile to pull the updated image
sgagniere d04d0b0
Update dockerfiles/Dockerfile_linux_glibc_arm64
sgagniere eedebc7
move duplicated line outside of if
sgagniere e9ad06c
Merge branch 'linux-build-update' of github.com:confluentinc/cli into…
sgagniere 76d6d34
Update dockerfiles/Dockerfile_linux_glibc_arm64_m1
sgagniere acc89f5
Merge branch 'linux-build-update' of github.com:confluentinc/cli into…
sgagniere 9e3bef0
Update build_linux_glibc.sh
sgagniere b0bae26
renaming dockerfiles
sgagniere 6a90c45
change rename to sed in the other dockerfile
sgagniere 8a8d768
merge from main
sgagniere 27db823
Remove go111module=off download for mousetrap
sgagniere 28ea886
removing gonosumdb, it should default to whatever is in goprivate now
sgagniere bbc7b38
go mod tidy because why not
sgagniere 6055c4b
Update build_linux_glibc.sh
sgagniere b693970
moved build_linux_glibc.sh to scripts
sgagniere c2459a9
Merge branch 'linux-build-update' of github.com:confluentinc/cli into…
sgagniere c798cfc
Update scripts/build_linux_glibc.sh
sgagniere edf45f9
Merge branch 'main' of github.com:confluentinc/cli into linux-build-u…
sgagniere 01fc799
replace sed with rename
sgagniere a7a68fd
merge main into linux-build-update
sgagniere File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,9 +1,9 @@ | ||
| FROM --platform=linux/arm64/v8 050879227952.dkr.ecr.us-west-1.amazonaws.com/confluentinc/cli-centos-base-arm64:latest | ||
| FROM --platform=linux/arm64/v8 050879227952.dkr.ecr.us-west-1.amazonaws.com/confluentinc/cli-ubuntu-base-arm64:arm64 | ||
|
|
||
| COPY . /go/src/github.com/confluentinc/cli/ | ||
|
|
||
| RUN cd /go/src/github.com/confluentinc/cli && \ | ||
| make gorelease-linux-glibc-arm64 | ||
|
|
||
| RUN cd /go/src/github.com/confluentinc/cli && \ | ||
| for file in dist/*.txt; do mv -v "$file" "${file/checksums/checksums_linux_arm64}"; done; | ||
| rename 's/checksums/checksums_linux_arm64/' dist/*.txt | ||
sgagniere marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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,9 @@ | ||
| FROM --platform=linux/amd64 050879227952.dkr.ecr.us-west-1.amazonaws.com/confluentinc/cli-ubuntu-base-arm64:latest | ||
|
|
||
| COPY . /go/src/github.com/confluentinc/cli/ | ||
|
|
||
| RUN cd /go/src/github.com/confluentinc/cli && \ | ||
| make gorelease-linux-glibc-arm64 | ||
|
|
||
| RUN cd /go/src/github.com/confluentinc/cli && \ | ||
| rename 's/checksums/checksums_linux_arm64/' dist/*.txt |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.