This commit is contained in:
goldsquid
2025-08-01 17:55:43 +07:00
parent 68aa5c73f8
commit a332445329

View File

@@ -49,6 +49,7 @@ ARG RETH_REPO=https://github.com/paradigmxyz/reth
ARG ENABLE_LTO=true
ARG PROFILE=maxperf
ARG BUILD_OP_RETH=false
ARG BUILD_BASE_RETH=false
# Set up cargo for maximum performance with aggressive optimizations
RUN mkdir -p /root/.cargo && \
@@ -279,6 +280,7 @@ RUN apt-get update && apt-get install -y \
# Use wildcards to avoid errors when copying non-existent files
COPY --from=builder /usr/local/bin/reth* /usr/local/bin/
COPY --from=builder /usr/local/bin/op-reth* /usr/local/bin/
COPY --from=builder /usr/local/bin/base-reth-node* /usr/local/bin/; \
# Create non-root user
RUN useradd -m -u 1000 -s /bin/bash reth