btrfs-progs/ci/images/ci-musl-x86_64/Dockerfile
David Sterba 3886c81fb5 btrfs-progs: ci: add docker build and run script
Add scripts to build and run the musl image, no runtime tests, we want
to verify just the build.

Signed-off-by: David Sterba <dsterba@suse.com>
2021-05-08 00:58:50 +02:00

19 lines
452 B
Docker

FROM alpine:edge
WORKDIR /tmp
RUN apk update
RUN apk add linux-headers musl-dev util-linux-dev bash
RUN apk add attr-dev acl-dev e2fsprogs-dev zlib-dev lzo-dev zstd-dev
RUN apk add autoconf automake make gcc tar gzip clang
RUN apk add python3 py3-setuptools python3-dev
# For downloading fresh sources
RUN apk add wget
# Only build tests
COPY ./test-build .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation --disable-backtrace