Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
for m1 mac
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Nov 15, 2023
1 parent dba4ed3 commit da18544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang AS builder
FROM --platform=linux/amd64 golang AS builder
USER root
WORKDIR /build/
COPY ./ /build/
Expand All @@ -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
Expand Down

0 comments on commit da18544

Please sign in to comment.