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

chore(packaging): wrong executable format #886

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Aug 12, 2019

Due to an invalid usage of bash, the binary was always built for amd64.
This fixes that and builds the correct one.

Fixes #885

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes! nice catch. LGTM!

cmd/promtail/Dockerfile Outdated Show resolved Hide resolved
@slim-bean
Copy link
Collaborator

was a little quick on the approve button! check my comments before merging

Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra && need to be removed but LGTM, nice catch

Due to an invalid usage of bash, the binary was always built for amd64.
This fixes that and builds the correct one.
@sh0rez sh0rez force-pushed the multiarch-exec-format-error branch from e501d75 to 2feb646 Compare August 12, 2019 20:02
@sh0rez
Copy link
Member Author

sh0rez commented Aug 12, 2019

thanks, missed that

@sh0rez sh0rez merged commit e4b99f2 into grafana:master Aug 12, 2019
@sh0rez sh0rez deleted the multiarch-exec-format-error branch August 12, 2019 20:04
@marthydavid
Copy link

marthydavid commented Aug 12, 2019

@sh0rez Build is failed for promtail arm64
https://circleci.com/gh/grafana/loki/9388

@sh0rez
Copy link
Member Author

sh0rez commented Aug 12, 2019

Thanks, CircleCI is kinda quirky, retriggering until it suceeds

@chaudum chaudum added the type/bug Somehing is not working as expected label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/packaging type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross build image is not working
5 participants