Skip to content

Commit

Permalink
ci(alpine): use clang instead of gcc for more test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jozzsi authored and LaszloGombos committed Sep 8, 2024
1 parent 07e2c49 commit b21a36e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/container/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM docker.io/alpine:latest

# prefer running tests with clang
ENV CC=clang

# ovmf is not installed as systemd-boot-efistub is not available
# see https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61369

RUN apk add --no-cache \
alpine-sdk \
asciidoc \
bash \
binutils \
Expand All @@ -14,6 +15,7 @@ RUN apk add --no-cache \
busybox \
bzip2 \
cargo \
clang \
coreutils \
cpio \
cryptsetup \
Expand All @@ -28,6 +30,7 @@ RUN apk add --no-cache \
erofs-utils \
eudev \
findmnt \
file \
f2fs-tools \
gawk \
git \
Expand Down

0 comments on commit b21a36e

Please sign in to comment.