do not build the eriogn tools

This commit is contained in:
goldsquid
2025-08-30 14:08:25 +07:00
parent 7485d62095
commit 484b096882

View File

@@ -23,24 +23,24 @@ RUN --mount=type=cache,target=/root/.cache \
make BUILD_TAGS=nosqlite,noboltdb,nosilkworm all make BUILD_TAGS=nosqlite,noboltdb,nosilkworm all
FROM docker.io/library/golang:1.24.1-alpine3.20 AS tools-builder # FROM docker.io/library/golang:1.24.1-alpine3.20 AS tools-builder
ARG REPO # ARG REPO
ARG COMMIT # ARG COMMIT
RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++ # RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++
WORKDIR /app # WORKDIR /app
RUN git clone --recursive ${REPO} . && \ # RUN git clone --recursive ${REPO} . && \
git checkout ${COMMIT} # git checkout ${COMMIT}
RUN mkdir -p /app/build/bin # RUN mkdir -p /app/build/bin
RUN --mount=type=cache,target=/root/.cache \ # RUN --mount=type=cache,target=/root/.cache \
--mount=type=cache,target=/tmp/go-build \ # --mount=type=cache,target=/tmp/go-build \
--mount=type=cache,target=/go/pkg/mod \ # --mount=type=cache,target=/go/pkg/mod \
make db-tools # make db-tools
FROM docker.io/library/alpine:3.19 FROM docker.io/library/alpine:3.19
@@ -55,7 +55,7 @@ USER erigon
RUN mkdir -p ~/.local/share/erigon RUN mkdir -p ~/.local/share/erigon
# Copy MDBX tools # Copy MDBX tools
COPY --from=tools-builder /app/build/bin/mdbx_* /usr/local/bin/ # COPY --from=tools-builder /app/build/bin/mdbx_* /usr/local/bin/
# Copy Erigon binaries # Copy Erigon binaries
COPY --from=builder /app/build/bin/devnet /usr/local/bin/devnet COPY --from=builder /app/build/bin/devnet /usr/local/bin/devnet