Open bosd opened 6 months ago
Even tried
export DOCKER_DEFAULT_PLATFORM=linux/arm64/v8 && docker compose -f prod.yaml up
It got passed the previous error.
But now there is an enldess:
db-1 | exec /autoconf-entrypoint: exec format error
Not an expert on ARM. Maybe @PCatinean can say anything about this.
@bosd your reported error looks like it's coming from the postgres image, have you checked if there is an arm version available?
Update: ok there should be plenty of images in the dockerhub postgres for arm: https://hub.docker.com/_/postgres/tags but https://hub.docker.com/r/tecnativa/postgres-autoconf/tags doesn't have arm tags. Can you switch https://github.com/Tecnativa/doodba-scaffolding/blob/master/common.yaml#L31 to image: postgres:${DB_VERSION}-alpine
@ap-wtioit Thanks for the pointer.
Found out there was a specific image for arm64/v8
which was unavailable in the main repo.
So changing the line to:
image: arm64v8/postgres:15-alpine
Fixed it. IDK, how and if this should be incorporated into the template.
FYI: Still not having a complete arm production setup runing. Still trying to get the inverseproxy up and running.
Describe the bug
Unable to build on a ARM vps.
To Reproduce
Affected versions:
Steps to reproduce the behavior:
inv img-build
See
Expected behavior An running doodba iage.
Additional context Docker version 26.0.0, build 2ae903e Ubuntu 24.04 LTS aarch64