fix
This commit is contained in:
@@ -49,6 +49,7 @@ ARG RETH_REPO=https://github.com/paradigmxyz/reth
|
|||||||
ARG ENABLE_LTO=true
|
ARG ENABLE_LTO=true
|
||||||
ARG PROFILE=maxperf
|
ARG PROFILE=maxperf
|
||||||
ARG BUILD_OP_RETH=false
|
ARG BUILD_OP_RETH=false
|
||||||
|
ARG BUILD_BASE_RETH=false
|
||||||
|
|
||||||
# Set up cargo for maximum performance with aggressive optimizations
|
# Set up cargo for maximum performance with aggressive optimizations
|
||||||
RUN mkdir -p /root/.cargo && \
|
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
|
# 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/reth* /usr/local/bin/
|
||||||
COPY --from=builder /usr/local/bin/op-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
|
# Create non-root user
|
||||||
RUN useradd -m -u 1000 -s /bin/bash reth
|
RUN useradd -m -u 1000 -s /bin/bash reth
|
||||||
|
|||||||
Reference in New Issue
Block a user