Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

oasst-backend and oasst-web ghcr.io images not built for Apple Silicon

Open melvinebenezer opened this issue 2 years ago • 2 comments

Issue

Running ansible-playbook -i test.inventory.ini deploy-to-node.yaml locally fails

TASK [Run the oasst oasst-backend] ***************************************************************************************************************************** fatal: [dev]: FAILED! => {"changed": false, "msg": "Error pulling ghcr.io/laion-ai/open-assistant/oasst-backend - code: None message: no matching manifest for linux/arm64/v8 in the manifest list entries"}

Solution

Github Workflow docker-build.yaml needs the following changes on uses: docker/[email protected]

platforms: linux/amd64,linux/arm64,linux/arm/v7

melvinebenezer avatar Feb 01 '23 13:02 melvinebenezer

@melvinebenezer hi, I'm facing the same problem. Can you elaborate on the solution for this?

CoffeeGeek101 avatar Feb 18 '23 15:02 CoffeeGeek101

@CoffeeGeek101 I also had the same problem but this seemed to work for me. From the docker-compose.yml file under the db service I added the following line and it seemed to work.

platform: linux/x86_64

Screenshot 2023-02-20 at 2 30 21 AM

owenduncansnobel avatar Feb 20 '23 07:02 owenduncansnobel