From 925abd314b9e27899032f3e9f7bf7e7b45f3ae64 Mon Sep 17 00:00:00 2001 From: Ian Kay Date: Wed, 18 Oct 2023 09:16:16 -0400 Subject: [PATCH] update Dockerfile for ARM compatibility --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5e0c25..d94a15d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ ADD . /go/src/github.com/cerc-io/ipld-eth-db # Get migration tool WORKDIR / ARG GOOSE_VER="v3.6.1" -ADD https://github.com/pressly/goose/releases/download/${GOOSE_VER}/goose_linux_x86_64 ./goose +RUN arch=$(arch | sed s/aarch64/arm64/) && \ + wget -O ./goose https://github.com/pressly/goose/releases/download/${GOOSE_VER}/goose_linux_${arch} RUN chmod +x ./goose # app container