Created
February 1, 2016 14:02
-
-
Save ironicbadger/b8e9d3fd015f60e72951 to your computer and use it in GitHub Desktop.
This file contains 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
FROM debian:jessie | |
MAINTAINER IronicBadger <ironicbadger@linuxserver.io> | |
# Builds SnapRAID from source | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y \ | |
gcc \ | |
git \ | |
make \ | |
checkinstall \ | |
curl && \ | |
curl -LO https://github.com/amadvance/snapraid/releases/download/v9.1/snapraid-9.1.tar.gz && \ | |
tar -xvf snapraid-9.1.tar.gz && \ | |
cd snapraid-9.1 && \ | |
./configure && \ | |
make -j8 && \ | |
make -j8 check && \ | |
checkinstall -Dy --install=no --nodoc && \ | |
mkdir /artifact && \ | |
cp *.deb /artifact/snapraid-from-source.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment