chore(Dockerfile): upgrade golang and clang (https://github.com/daeuniverse/daed/issues/250) (#320)

This commit is contained in:
hero-intelligent 2023-09-04 11:57:40 +08:00 committed by GitHub
parent bfd4d99744
commit 8334868905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
FROM golang:1.20-bullseye AS builder
RUN apt-get update && apt-get install -y llvm clang git make
FROM golang:1.21-bookworm AS builder
RUN apt-get update && apt-get install -y llvm-15 clang-15 git make
ENV CLANG=clang-15
WORKDIR /build/
ADD go.mod go.sum ./
RUN go mod download