From 523edf5d7b10cb5f165ebfc60230df90b014d2c6 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 7 Nov 2023 23:14:15 -0500 Subject: [PATCH] Add lld inside Dockerfiles --- orchestration/coordinator/Dockerfile | 2 +- orchestration/message-queue/Dockerfile | 2 +- orchestration/processor/Dockerfile | 2 +- orchestration/runtime/Dockerfile | 2 +- orchestration/serai/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/orchestration/coordinator/Dockerfile b/orchestration/coordinator/Dockerfile index effe65143..fc2d434bb 100644 --- a/orchestration/coordinator/Dockerfile +++ b/orchestration/coordinator/Dockerfile @@ -2,7 +2,7 @@ FROM rust:1.73-slim-bookworm as builder LABEL description="STAGE 1: Build" # Upgrade and add dev dependencies -RUN apt update && apt upgrade -y && apt install -y pkg-config clang && apt autoremove -y && apt clean +RUN apt update && apt upgrade -y && apt install -y pkg-config lld clang && apt autoremove -y && apt clean # Add the wasm toolchain RUN rustup target add wasm32-unknown-unknown diff --git a/orchestration/message-queue/Dockerfile b/orchestration/message-queue/Dockerfile index 1250ef4bd..91e84dee3 100644 --- a/orchestration/message-queue/Dockerfile +++ b/orchestration/message-queue/Dockerfile @@ -2,7 +2,7 @@ FROM rust:1.73-slim-bookworm as builder LABEL description="STAGE 1: Build" # Upgrade and add dev dependencies -RUN apt update && apt upgrade -y && apt install -y pkg-config clang libssl-dev && apt autoremove -y && apt clean +RUN apt update && apt upgrade -y && apt install -y pkg-config lld clang libssl-dev && apt autoremove -y && apt clean # Add files for build ADD common /serai/common diff --git a/orchestration/processor/Dockerfile b/orchestration/processor/Dockerfile index dea719d4f..1348c0a6d 100644 --- a/orchestration/processor/Dockerfile +++ b/orchestration/processor/Dockerfile @@ -2,7 +2,7 @@ FROM rust:1.73-slim-bookworm as builder LABEL description="STAGE 1: Build" # Upgrade and add dev dependencies -RUN apt update && apt upgrade -y && apt install -y pkg-config clang && apt autoremove -y && apt clean +RUN apt update && apt upgrade -y && apt install -y pkg-config lld clang && apt autoremove -y && apt clean # Add files for build ADD common /serai/common diff --git a/orchestration/runtime/Dockerfile b/orchestration/runtime/Dockerfile index 144c8caca..845e99bda 100644 --- a/orchestration/runtime/Dockerfile +++ b/orchestration/runtime/Dockerfile @@ -7,7 +7,7 @@ RUN rm -rf /etc/apt/sources.list.d/debian.sources && \ apt update # Install dependencies -RUN apt install clang -y +RUN apt install lld clang -y # Add the wasm toolchain RUN rustup target add wasm32-unknown-unknown diff --git a/orchestration/serai/Dockerfile b/orchestration/serai/Dockerfile index aeaa5349a..21adb9951 100644 --- a/orchestration/serai/Dockerfile +++ b/orchestration/serai/Dockerfile @@ -2,7 +2,7 @@ FROM rust:1.73-slim-bookworm as builder LABEL description="STAGE 1: Build" # Upgrade and add dev dependencies -RUN apt update && apt upgrade -y && apt install -y git pkg-config make clang libssl-dev protobuf-compiler && apt autoremove -y && apt clean +RUN apt update && apt upgrade -y && apt install -y git pkg-config make lld clang libssl-dev protobuf-compiler && apt autoremove -y && apt clean # Add the wasm toolchain RUN rustup target add wasm32-unknown-unknown