Skip to content

Instantly share code, notes, and snippets.

@albertoleal
Created September 30, 2016 11:20
Show Gist options
  • Save albertoleal/9ca14424716b66ce57647da0074672f5 to your computer and use it in GitHub Desktop.
Save albertoleal/9ca14424716b66ce57647da0074672f5 to your computer and use it in GitHub Desktop.
Spike with btrfs 4.7.3
# RUN apt-get install -y uidmap btrfs-tools sudo
RUN apt-get update
RUN apt-get install -y uidmap wget sudo liblzo2-dev libblkid-dev e2fslibs-dev pkg-config libz-dev curl
RUN wget https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v4.7.3.tar.xz && \
tar xf btrfs-progs-v4.7.3.tar.xz && \
cd btrfs-progs-v4.7.3 && \
./configure --disable-documentation && \
make static && make install-static && \
files=$(ls *.static) && \
for file in $files; do mv $file /usr/local/bin/${file%.static}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment