Skip to content

Commit

Permalink
Add lld inside Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 8, 2023
1 parent 2a97920 commit 523edf5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion orchestration/coordinator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion orchestration/message-queue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion orchestration/processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion orchestration/runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion orchestration/serai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 523edf5

Please sign in to comment.