strapi-docker icon indicating copy to clipboard operation
strapi-docker copied to clipboard

DockerHub Images Only Support AMD64

Open breyell opened this issue 3 years ago • 3 comments

I would love to see Strapi's DockerHub image support more than only AMD64 so I could deploy it on a Raspberry Pi (ARM64).

This GitHub Action has been great for me.

breyell avatar Feb 05 '21 20:02 breyell

Hi @breyell if you need to deploy strapi we recommend you create a production image as the ones here are more oriented towards development :)

It is a common nodejs image creation. You will just need to adapt it to your needs & architecture. Here is a basic example using the base node image

https://github.com/strapi/strapi-docker/blob/master/examples/custom/Dockerfile

Hope this helps

alexandrebodin avatar Feb 08 '21 09:02 alexandrebodin

That's what I was trying to do. I think I ran into issues when using FROM strap/base on arm64 because it was only built for amd64. Using FROM node:12 solved my issues.

breyell avatar Feb 11 '21 22:02 breyell

We are moving to arm64 architecture and we are running into the same issue/difficulties. There is no apparent reason for strapi/base image not to be a multi architecture image.

We are also using https://github.com/strapi/strapi-docker/blob/master/examples/custom/Dockerfile but it's unclear how to proceeed

There are other similar issues: https://github.com/strapi/strapi-docker/issues/307

amoscatelli avatar Jan 12 '22 13:01 amoscatelli