Skip to content

Instantly share code, notes, and snippets.

@allanlei
Last active July 24, 2017 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allanlei/d2c4764145d64e355cbd4f91aa373721 to your computer and use it in GitHub Desktop.
Save allanlei/d2c4764145d64e355cbd4f91aa373721 to your computer and use it in GitHub Desktop.
xfsprogs builder
FROM debian
ARG VERSION=v4.12.0
RUN apt-get update
RUN apt-get install -y \
git-core \
libtool \
build-essential \
gettext \
uuid-dev \
libblkid-dev \
autoconf \
automake
RUN git clone --branch ${VERSION} --depth 1 git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git /tmp/xfsprogs
WORKDIR /tmp/xfsprogs
RUN make DEBUG=-DNDEBUG && \
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment