diff --git a/fluffy/tools/docker/Dockerfile.portalhive b/fluffy/tools/docker/Dockerfile.portalhive index 24e540725..d8c861c05 100644 --- a/fluffy/tools/docker/Dockerfile.portalhive +++ b/fluffy/tools/docker/Dockerfile.portalhive @@ -2,25 +2,26 @@ FROM debian:stable-slim as build ENV DEBIAN_FRONTEND=noninteractive TZ="Etc/UTC" ENV NPROC=2 +ENV NIMFLAGS_COMMON="-d:disableMarchNative --gcc.options.debug:'-g1' --clang.options.debug:'-gline-tables-only'" RUN apt update \ && apt install make bash build-essential git -y \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -COPY ../../ /fluffy +COPY ../../ /nimbus-eth1 -WORKDIR /fluffy +WORKDIR /nimbus-eth1 -RUN --mount=type=cache,target=/fluffy/vendor \ - make deps -j${NPROC} +RUN mv vendor vendor.orig -RUN --mount=type=cache,target=/fluffy/vendor <