Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:20.04

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y git gcc make libfuse-dev pkg-config\
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/jmattsson/fuseloop
WORKDIR fuseloop
RUN make clean
RUN make
1 change: 1 addition & 0 deletions README-Docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To build fuseloop with Docker just run `./build.sh`. It will build fuseloop with Ubuntu 20.04 in Docker and copy it to the host.
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

TAG=$(uuidgen | tr '[:upper:]' '[:lower:]')
CONTAINER=$(uuidgen | tr '[:upper:]' '[:lower:]')
docker build -t $TAG .
docker create -ti --name $CONTAINER $TAG bash
docker cp $CONTAINER:/fuseloop fuseloop
docker rm -f $CONTAINER
docker image rm -f $TAG