diff options
Diffstat (limited to 'builder')
| -rw-r--r-- | builder/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
