Skip to content

Instantly share code, notes, and snippets.

@cathcart
Created June 1, 2015 15:42
Show Gist options
  • Save cathcart/5d430860deaf79502656 to your computer and use it in GitHub Desktop.
Save cathcart/5d430860deaf79502656 to your computer and use it in GitHub Desktop.
Dockerfile for a mono based docker image of Jackett
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" ]
@cathcart
Copy link
Author

cathcart commented Jun 1, 2015

build the image with:
docker build .
run with:
docker run --name -d -p :9117:9117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment