summaryrefslogtreecommitdiffhomepage
path: root/images/basic/fuse/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'images/basic/fuse/Dockerfile')
-rw-r--r--images/basic/fuse/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/images/basic/fuse/Dockerfile b/images/basic/fuse/Dockerfile
new file mode 100644
index 000000000..9e88aa2c5
--- /dev/null
+++ b/images/basic/fuse/Dockerfile
@@ -0,0 +1,15 @@
+FROM ubuntu:20.04
+
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update
+RUN apt-get install -y build-essential git pkg-config fuse3 libfuse3-3 libfuse3-dev strace
+
+WORKDIR /fus
+
+RUN mkdir -pv mountpoint
+RUN git clone https://github.com/libfuse/libfuse
+
+RUN gcc -Wall ./libfuse/example/passthrough.c `pkg-config fuse3 --cflags --libs` -o server-bin
+
+CMD ["bash"]