Skip to content

Raspberry Pi (or non amd64 systems) can not build the docker image #901

Closed
@hakandurmaz

Description

@hakandurmaz

Hi,
Since the version 1.5.0 , can not build the docker image for avalanchego.

build_image.sh gives that output:


E: Version '4.19+105+deb10u12' for 'linux-headers-amd64' was not found

The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash=5.0-4 git=1:2.20.1-2+deb10u3 make=4.2.1-1.2 gcc=4:8.3.0-1 musl-dev=1.1.21-2 ca-certificates=20200601~deb10u2 linux-headers-amd64=4.19+105+deb10u12' returned a non-zero code: 100


I noticed that in the Dockerfile there is a new command;

# ============= Compilation Stage ================
FROM golang:1.15.5-buster AS builder
RUN apt-get update && apt-get install -y --no-install-recommends bash=5.0-4 git=1:2.20.1-2+deb10u3 make=4.2.1-1.2 gcc=4:8.3.0-1 musl-dev=1.1.21-2 ca-certificates=20200601~deb10u2 linux-headers-amd64=4.19+105+deb10u12

But the arm64 systems can not compile that linux-headers-amd64

So currently I am running on 1.4.7 , could not upgrade to 1.5.1 version.

Could you please look at that?

System properties:
Raspberry Pi 4 / 8 GB
OS: Ubuntu 20.04

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog 🧊

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions