Skip to content

Instantly share code, notes, and snippets.

@jwhear
Created July 28, 2022 14:09
Show Gist options
  • Save jwhear/83889e9bbba42cbf961340a341ede446 to your computer and use it in GitHub Desktop.
Save jwhear/83889e9bbba42cbf961340a341ede446 to your computer and use it in GitHub Desktop.
LiteFS Dockerfile test (Fedora)
FROM fedora
RUN dnf install -y kmod fuse3 fuse3-libs fuse3-devel wget sqlite
RUN dnf install -y dnf-plugins-core && \
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo && \
dnf -y install consul
#RUN modprobe fuse
# Get LiteFS
RUN wget https://github.com/superfly/litefs/releases/download/v0.1.0/litefs-v0.1.0-linux-amd64.tar.gz -O - | tar -xzf -
# Copy the repro script
COPY repro.sh .
ENTRYPOINT ./repro.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment