Skip to content

Commit 2404da7

Browse files
authored
fix macos docker builds (#3992)
* clean the build folder for docker builds * fix: lint
1 parent b1ac3ae commit 2404da7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2024-2025 Status Research & Development GmbH
2+
# Copyright (c) 2024-2026 Status Research & Development GmbH
33
# Licensed under either of
44
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
55
# http://www.apache.org/licenses/LICENSE-2.0)
@@ -13,13 +13,14 @@ FROM debian:trixie-slim AS build
1313
SHELL ["/bin/bash", "-c"]
1414

1515
RUN apt-get clean && apt update \
16-
&& apt -y install curl build-essential git-lfs librocksdb-dev
16+
&& apt -y install curl build-essential git-lfs
1717

1818
RUN ldd --version
1919

2020
ADD . /root/nimbus-eth1
2121

2222
RUN cd /root/nimbus-eth1 \
23+
&& rm -rf build/ \
2324
&& make -j$(nproc) init \
2425
&& make -j$(nproc) DISABLE_MARCH_NATIVE=1 V=1 nimbus_execution_client
2526

@@ -30,7 +31,7 @@ FROM debian:trixie-slim AS deploy
3031

3132
SHELL ["/bin/bash", "-c"]
3233
RUN apt-get clean && apt update \
33-
&& apt -y install build-essential librocksdb-dev
34+
&& apt -y install build-essential
3435
RUN apt update && apt -y upgrade
3536

3637
RUN ldd --version

0 commit comments

Comments
 (0)