diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..4e18423f75 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,44 @@ +*~ +*.pyc +*.swo +*.swp +.settings/ +.project +.pydevproject +/.Python +FlexGet.egg-info/ +bin/ +Scripts/ +include/ +lib/ +local +.idea/ +*.iml +config.yml +db-config.sqlite +flexget.log +flexget.log.* +received/ +share/ +dist/ +build/ +*.sqlite +*.yml +paver-minilib.zip +man/ +distribute-*.tar.gz +setuptools-*.tar.gz +pip-*.tar.gz +.DS_Store +/lib64 +*.noseids +.coverage +tests/cover/ +flexget/ui/node_modules/ +flexget/ui/bower_components/ +flexget/ui/.tmp/ +flexget/ui/app/ + +docs/ +tests/ +.* \ No newline at end of file diff --git a/.gitignore b/.gitignore index cbd7fd1897..fbd3799990 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ include/ lib/ local .idea/ +*.iml config.yml db-config.sqlite flexget.log diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..1fb27274da --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM alpine +MAINTAINER RĂ©mi Alvergnat + +RUN apk add --update python py-pip ca-certificates && rm -rf /var/cache/apk/* + +ADD . /opt/flexget +WORKDIR /opt/flexget + +RUN pip install paver +RUN pip install -e . + +RUN mkdir /root/.flexget +VOLUME /root/.flexget + +ENTRYPOINT ["flexget"] diff --git a/README.rst b/README.rst index 8ae24bb0d6..bd93f72e7c 100644 --- a/README.rst +++ b/README.rst @@ -42,6 +42,12 @@ For more detailed instructions see the `installation guide`_. .. _installation guide: http://flexget.com/wiki/Install +Install using Docker (Linux only) +--------------------------------- + +Docker can be used to install and run flexget:: + + docker run -it -v /home//.flexget:/root/.flexget --rm toilal/flexget How to use GIT checkout -----------------------