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

Shipping with Apple Silicon #182

Open
bismark64 opened this issue Sep 26, 2024 · 0 comments
Open

Shipping with Apple Silicon #182

bismark64 opened this issue Sep 26, 2024 · 0 comments

Comments

@bismark64
Copy link

Is there any place in the vars or config to specify a specific docker image platform?

Using Apple silicon chips to build the image creates an incompatibility issue when shipping to AWS ECS.

I had to manually create the image using:
UFO_DOCKER_BUILD_OPTIONS="--platform=linux/amd64" UFO_ENV=env ufo docker build --push

then manually ship it:
UFO_ENV=env ufo ship --no-docker
but I also had to tweak the config files in order to specify the correct image and for some reason this last command did not create a load balancer, so I had to add config.elb.enabled = true.

So in short, I found several issues when running the commands like that.

Is there a way to specify the platform (--platform=linux/amd64) when shipping using the standard ufo ship command?

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

No branches or pull requests

1 participant