Created
September 30, 2016 11:20
-
-
Save albertoleal/9ca14424716b66ce57647da0074672f5 to your computer and use it in GitHub Desktop.
Spike with btrfs 4.7.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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