oursky / django-material-demo

0 stars 3 forks source link

Allow web image to run in arm64 #40

Closed tung2744 closed 2 years ago

tung2744 commented 2 years ago

ref #39

Steven-Chan commented 2 years ago

But the base python image is still linux/amd64 🤔

tung2744 commented 2 years ago

:shocked:

You are right.

I just inspected the image in local, and looks like for some reason the architecture of the built image is actually arm64. Maybe it is some problem of my local environment. I confirmed the original setup works with a amd64 image.

Oh I guess it was just I worked on an old commit.

But what do you think if we just remove the --platform argument in Dockerfile so to support building an arm image? (I guess we are all using m1 macbooks?) Or I will just close this if it is not needed.

@Steven-Chan

Steven-Chan commented 2 years ago

@tung2744 Its always good to support multi-platform natively 😸 I also use m1 macbook and I was just lazy to fix it.

tung2744 commented 2 years ago

Removed platform from base image, thanks