ci(docker): add clang

This commit is contained in:
andreas 2022-06-07 21:11:20 +02:00
parent 19833cac00
commit aadb7b35c4
Signed by untrusted user: andreas
GPG Key ID: D97194E55873280A

View File

@ -1,7 +1,9 @@
ARG BASE_IMAGE=ekidd/rust-musl-builder:latest ARG BASE_IMAGE=docker.io/ekidd/rust-musl-builder:latest
FROM ${BASE_IMAGE} AS builder FROM ${BASE_IMAGE} AS builder
RUN sudo apt-get update && sudo apt-get install -y clang
ADD --chown=rust:rust . ./ ADD --chown=rust:rust . ./
RUN cargo build --release RUN cargo build --release