Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Docker image build fails on 32 bit Raspberry Pi #13371

@jap

Description

@jap

Description

When trying to build a docker image on a 32 bit raspbian environment, the build fails because it cannot find a proper rust compiler for building the cryptography package. Note that this happens in the initial "poetry" stage, not the second one where the relevent dependencies are in fact installed using apt.

The command used was

DOCKER_BUILDKIT=1 docker build --pull --build-arg PYTHON_VERSION=3.9 -f docker/Dockerfile -t synapse:v1.63.1 -t synapse:latest .

and the output scrolled of of my screen unfortunately.

Steps to reproduce

  • checkout git
  • try to run a build: DOCKER_BUILDKIT=1 docker build --pull --build-arg PYTHON_VERSION=3.9 -f docker/Dockerfile -t synapse:v1.63.1 -t synapse:latest .

Homeserver

n/a

Synapse Version

1.63.1

Installation Method

Other (please mention below)

Platform

Raspi 4, raspbian 32 bits, has recent docker versions

Relevant log output

scrolled of the screen unfortunately

Anything else that would be useful to know?

PR incoming

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions