diff --git a/Dockerfile b/Dockerfile index 8157e65048..9b2f424938 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Nimbus -# Copyright (c) 2024-2025 Status Research & Development GmbH +# Copyright (c) 2024-2026 Status Research & Development GmbH # Licensed under either of # * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or # http://www.apache.org/licenses/LICENSE-2.0) @@ -13,7 +13,7 @@ FROM debian:trixie-slim AS build SHELL ["/bin/bash", "-c"] RUN apt-get clean && apt update \ - && apt -y install curl build-essential git-lfs librocksdb-dev + && apt -y install curl build-essential git-lfs RUN ldd --version @@ -21,7 +21,7 @@ ADD . /root/nimbus-eth1 RUN cd /root/nimbus-eth1 \ && make -j$(nproc) init \ - && make -j$(nproc) DISABLE_MARCH_NATIVE=1 V=1 nimbus_execution_client + && make -j$(nproc) DISABLE_MARCH_NATIVE=1 V=1 nimbus # --------------------------------- # # Starting new image to reduce size # @@ -30,17 +30,17 @@ FROM debian:trixie-slim AS deploy SHELL ["/bin/bash", "-c"] RUN apt-get clean && apt update \ - && apt -y install build-essential librocksdb-dev + && apt -y install build-essential RUN apt update && apt -y upgrade RUN ldd --version -RUN rm -f /home/user/nimbus-eth1/build/nimbus_execution_client +RUN rm -f /home/user/nimbus-eth1/build/nimbus -COPY --from=build /root/nimbus-eth1/build/nimbus_execution_client /home/user/nimbus-eth1/build/nimbus_execution_client +COPY --from=build /root/nimbus-eth1/build/nimbus /home/user/nimbus-eth1/build/nimbus ENV PATH="/home/user/nimbus-eth1/build:${PATH}" -ENTRYPOINT ["nimbus_execution_client"] +ENTRYPOINT ["nimbus"] WORKDIR /home/user/nimbus-eth1/build STOPSIGNAL SIGINT \ No newline at end of file