fuse-overlayfs/tests/alpine.sh
Giuseppe Scrivano a65b310508
build: rename Dockerfile to Containerfile
since these files need the -v option that is not present with Docker,
rename the files to Containerfile to avoid confusion.

more info: https://twitter.com/cpuguy83/status/1313523894536429568

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-06 19:22:49 +02:00

12 lines
259 B
Bash
Executable File

#!/bin/sh
cd "$(dirname "$0")"
set -ex
docker build -t fuse-overlayfs:alpine -f ../Containerfile.alpine ..
docker run --privileged --rm --entrypoint /unlink.sh -w /tmp \
-e EXPECT_UMOUNT_STATUS=1 \
-v "$(pwd)/unlink.sh:/unlink.sh" fuse-overlayfs:alpine