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

Support building both amd64 and arm64 docker images #266

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mflis
Copy link
Contributor

@mflis mflis commented Aug 16, 2022

  • docker buildx doesn't allow to easily separate build and push step
    so make docker-package and make docker-push needed to be merged
    into one command

  • Using locally built image in FROM directive seems impossible
    with docker buildx - remote docker registry is required.
    So all dockerfiles were merged into one.
    See: how to buid image using base image on local repo docker/buildx#301 (comment)

  • AWS_AIM_AUTHENTICATOR_VERSION and GOOGLE_CLOUD_SDK_VERSION were bumped
    to versions where arm64 binaries are available

@mflis
Copy link
Contributor Author

mflis commented Aug 17, 2022

Build failed on "Login to docker registry", because it's forked repository. @ichi0915 could you help here? Also I see that integration tests were failing for last few merges to master, so it will probably fail on my MR too.

- docker buildx doesn't allow to easily separate build and push step
so `make docker-package` and `make docker-push` needed to be merged
into one command

- Using locally built image in FROM directive seems impossible
with `docker buildx` - remote docker registry is required.
So all dockerfiles were merged into one.
See: docker/buildx#301 (comment)

- AWS_AIM_AUTHENTICATOR_VERSION and GOOGLE_CLOUD_SDK_VERSION were bumped
  to versions where arm64 binaries are available
@ichi0915
Copy link
Contributor

Yeah it is failing because it is a fork we are going to work on that after we fix the integration tests.

The other day I tested this PR and it didn't do the push to docker I just saw that you updated the makefile and it looks good, I'm going to do some more test with the newer changes.

FYI I cannot merge these changes because I don't have permissions to merge until the actions have passed, I'm going to tell someone in armory to merge this but first we are merging this other PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants