From 65eb42997fefe3643c3f91771d9c3bcd240b9fa6 Mon Sep 17 00:00:00 2001 From: Roberto Gervacio Date: Thu, 5 Sep 2024 20:57:57 -0600 Subject: [PATCH] fix: Dockerfile build --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 082d5fd1969..9811cd58c94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive # Install some basics RUN apt-get update \ + && apt-get upgrade -y \ && apt-get install -y \ wget \ curl \ @@ -23,7 +24,7 @@ RUN apt-get update \ libtool autoconf pkg-config \ ninja-build \ ruby-full \ - clang-14 \ + clang \ llvm-14 \ libc++-dev libc++abi-dev \ cmake \ @@ -48,6 +49,9 @@ RUN cargo install --force cbindgen \ COPY . /wallet-core WORKDIR /wallet-core +# Clean CMakeCache before CMake execution +RUN rm -rf /wallet-core/protobuf-plugin/build/CMakeCache.txt + # Install dependencies RUN tools/install-dependencies