Skip to content

Instantly share code, notes, and snippets.

@ironicbadger
Created February 1, 2016 14:02
Show Gist options
  • Save ironicbadger/b8e9d3fd015f60e72951 to your computer and use it in GitHub Desktop.
Save ironicbadger/b8e9d3fd015f60e72951 to your computer and use it in GitHub Desktop.
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