Skip to content

Instantly share code, notes, and snippets.

@jwhear
Created July 28, 2022 14:33
Show Gist options
  • Save jwhear/4d64fdf15c2ed756cbb0660fa14a3fff to your computer and use it in GitHub Desktop.
Save jwhear/4d64fdf15c2ed756cbb0660fa14a3fff to your computer and use it in GitHub Desktop.
LiteFS docker test (Debian)
FROM debian
RUN apt update && apt install -y fuse3 libfuse3-dev sqlite3 wget zip
RUN wget https://releases.hashicorp.com/consul/1.12.3/consul_1.12.3_linux_amd64.zip &&\
unzip consul_1.12.3_linux_amd64.zip &&\
mv consul /usr/bin/
# 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