chore(docker)_: use llvm instead of gcc
This commit is contained in:
parent
2ca34489db
commit
a7daee3dae
|
@ -1,8 +1,11 @@
|
||||||
# Build status-go in a Go builder container
|
# Build status-go in a Go builder container
|
||||||
FROM golang:1.21-alpine3.18 as builder
|
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_tags
|
||||||
ARG build_flags
|
ARG build_flags
|
||||||
|
|
Loading…
Reference in New Issue