From da1854416d14a46f612233ccd4631b30455b7bf0 Mon Sep 17 00:00:00 2001 From: tarumi Date: Wed, 15 Nov 2023 12:52:14 +0100 Subject: [PATCH] for m1 mac --- dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index fa8843f8..f454883b 100644 --- a/dockerfile +++ b/dockerfile @@ -1,4 +1,4 @@ -FROM golang AS builder +FROM --platform=linux/amd64 golang AS builder USER root WORKDIR /build/ COPY ./ /build/ @@ -11,7 +11,7 @@ RUN ignite chain build \ --release RUN tar -zxvf release/mycel_linux_amd64.tar.gz -FROM ubuntu +FROM --platform=linux/amd64 ubuntu ENV LD_LIBRARY_PATH=/usr/local/lib RUN apt update \ && apt install -y ca-certificates vim curl