Created
June 1, 2015 15:42
-
-
Save cathcart/5d430860deaf79502656 to your computer and use it in GitHub Desktop.
Dockerfile for a mono based docker image of Jackett
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
FROM mono:latest | |
RUN apt-get update | |
RUN apt-get -y -q install git | |
RUN apt-get -y -q install libcurl4-openssl-dev | |
RUN git clone https://github.com/zone117x/Jackett.git | |
RUN apt-get remove -y --auto-remove git | |
WORKDIR /Jackett/src | |
RUN mkdir packages | |
WORKDIR /Jackett/src/packages | |
RUN nuget install /Jackett/src/Jackett/packages.config | |
WORKDIR /Jackett/src | |
RUN xbuild /p:Configuration=Release Jackett.sln | |
CMD [ "mono", "/Jackett/src/Jackett/bin/Release/Jackett.exe" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
build the image with:
docker build .
run with:
docker run --name -d -p :9117:9117