Skip to content

Commit fc688fb

Browse files
authored
Merge pull request #150 from giuseppe/fix-musl-build-again
.travis: test build on Alpine
2 parents 9e5b0aa + e280f41 commit fc688fb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ addons:
2525
- go-md2man
2626
before_install:
2727
- docker pull fedora &
28+
- docker build -t alpine-build -f Dockerfile.alpine .
2829
- (wget https://dl.google.com/go/go1.10.8.linux-amd64.tar.gz && tar xf go1.10.8.linux-amd64.tar.gz && sudo mv go /usr/local)
2930
- sudo mkdir -p /lower /upper /mnt
3031
- (cd /; sudo git clone https://github.com/amir73il/unionmount-testsuite.git)
@@ -44,3 +45,4 @@ script:
4445
- sudo tests/unlink.sh || travis_terminate 1;
4546
- (cd $GOPATH/src/github.com/containers/storage/tests; sudo STORAGE_OPTION=overlay.mount_program=/sbin/fuse-overlayfs STORAGE_DRIVER=overlay unshare -m ./test_runner.bash) || travis_terminate 1;
4647
- (cd $GOPATH/src/github.com/containers/storage/tests; sudo FUSE_OVERLAYFS_DISABLE_OVL_WHITEOUT=1 STORAGE_OPTION=overlay.mount_program=/sbin/fuse-overlayfs STORAGE_DRIVER=overlay unshare -m ./test_runner.bash) || travis_terminate 1;
48+
- docker run --rm -v $(pwd):/fuse-overlayfs alpine-build sh -c 'cd /fuse-overlayfs; ./autogen.sh && ./configure && make clean && make'

Dockerfile.alpine

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM alpine
2+
RUN apk add make gcc fuse3-dev libc-dev go-md2man linux-headers automake autoconf gettext

0 commit comments

Comments
 (0)