path: root/travis
diff options
authorDavid Sterba <>2018-02-08 01:26:55 +0100
committerDavid Sterba <>2018-02-08 01:26:55 +0100
commit3cfe67998a71256bd95f4b2942bd4b3481b550d5 (patch)
tree5dd43eaea3bd01a8f41027fdb1affba9667d0acb /travis
parent47cbdeb83617917132cc48b704bebb9cba26e15b (diff)
btrfs-progs: ci: add dockerfile for a musl build test
Build environment with musl as the libc, based on Alpine Linux. To build the docker image: - cd travis/images - cp test-build $dir - cd $dir - docker build -t $tag . - docker push $tag We're going to have more images that will share the prep script so it has to be copied to the directory before making the image. No other way around that. Signed-off-by: David Sterba <>
Diffstat (limited to 'travis')
1 files changed, 10 insertions, 0 deletions
diff --git a/travis/images/ci-musl-x86_64/Dockerfile b/travis/images/ci-musl-x86_64/Dockerfile
new file mode 100644
index 00000000..dbbe4dc1
--- /dev/null
+++ b/travis/images/ci-musl-x86_64/Dockerfile
@@ -0,0 +1,10 @@
+FROM alpine:edge
+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
+COPY ./test-build .