Skip to content

Commit

Permalink
musl Dockerfile: del gcc, provide linux/* headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dubiousjim committed Jun 24, 2020
1 parent 4a12cd3 commit cc2ad70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/docker/x86_64-unknown-linux-musl/Dockerfile
Expand Up @@ -5,5 +5,8 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
make \
file \
libc6-dev \
gcc \
linux-libc-dev-amd64-cross \
musl-tools

ENV CC="musl-gcc" CFLAGS="-I /usr/x86_64-linux-gnu/include"
# CFLAGS is for the linux/* headers provided by linux-libc-dev-amd64-cross

0 comments on commit cc2ad70

Please sign in to comment.