chore(docker)_: use llvm instead of gcc

This commit is contained in:
Siddarth Kumar 2024-09-24 17:52:17 +05:30
parent 2ca34489db
commit a7daee3dae
No known key found for this signature in database
GPG Key ID: 599D10112BF518DB
1 changed files with 4 additions and 1 deletions

View File

@ -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