From 7b95d7276fc321cf7eab88475c51b2829b8e4188 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Wed, 6 May 2026 13:48:00 -0400 Subject: trezor --- builder/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builder') diff --git a/builder/Dockerfile b/builder/Dockerfile index dbf893b..29dd299 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26.0-bookworm@sha256:c7a82e9e2df2fea5d8cb62a16aa6f796d2b2ed81ccad4ddd2bc9f0d22936c3f2 AS builder_base +FROM --platform=linux/amd64 golang:1.26.0-bookworm@sha256:c7a82e9e2df2fea5d8cb62a16aa6f796d2b2ed81ccad4ddd2bc9f0d22936c3f2 AS builder_base WORKDIR /w RUN apt update \ @@ -36,9 +36,9 @@ RUN make HOST=aarch64-apple-ios && make HOST=aarch64-apple-ios BOOST_VERSION=1_8 RUN make HOST=aarch64-apple-ios-simulator && make HOST=aarch64-apple-ios-simulator BOOST_VERSION=1_83_0 && make sbs-cleanup FROM builder_base AS monero_c_base -COPY . /w +COPY .git /w/.git RUN sudo chown -R user:user /w -RUN git submodule update --init --force --recursive \ +RUN git reset --hard && git submodule update --init --force --recursive \ && ./apply_patches.sh monero \ && ./apply_patches.sh wownero \ && ./apply_patches.sh zano -- cgit v1.2.3