From a7daee3dae0cbad9549c7edc6cad9185caace27b Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Tue, 24 Sep 2024 17:52:17 +0530 Subject: [PATCH] chore(docker)_: use llvm instead of gcc --- _assets/build/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_assets/build/Dockerfile b/_assets/build/Dockerfile index ec54e364e..f7f3a582f 100644 --- a/_assets/build/Dockerfile +++ b/_assets/build/Dockerfile @@ -1,8 +1,11 @@ # Build status-go in a Go builder container FROM golang:1.21-alpine3.18 as builder +# Set environment variables to use Clang +ENV CC=clang +ENV CXX=clang++ -RUN apk add --no-cache make gcc g++ musl-dev linux-headers +RUN apk add --no-cache make llvm clang musl-dev linux-headers ARG build_tags ARG build_flags