mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-08 14:52:31 -04:00

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>
12 lines
259 B
Bash
Executable File
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
|