mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-08 14:52:31 -04:00
.travis: test build on Alpine
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
675b7b90e7
commit
e280f411f1
@ -25,6 +25,7 @@ addons:
|
||||
- go-md2man
|
||||
before_install:
|
||||
- docker pull fedora &
|
||||
- docker build -t alpine-build -f Dockerfile.alpine .
|
||||
- (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)
|
||||
- sudo mkdir -p /lower /upper /mnt
|
||||
- (cd /; sudo git clone https://github.com/amir73il/unionmount-testsuite.git)
|
||||
@ -44,3 +45,4 @@ script:
|
||||
- sudo tests/unlink.sh || travis_terminate 1;
|
||||
- (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;
|
||||
- (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;
|
||||
- docker run --rm -v $(pwd):/fuse-overlayfs alpine-build sh -c 'cd /fuse-overlayfs; ./autogen.sh && ./configure && make clean && make'
|
||||
|
2
Dockerfile.alpine
Normal file
2
Dockerfile.alpine
Normal file
@ -0,0 +1,2 @@
|
||||
FROM alpine
|
||||
RUN apk add make gcc fuse3-dev libc-dev go-md2man linux-headers automake autoconf gettext
|
Loading…
x
Reference in New Issue
Block a user