Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Feb 11, 2016
1 parent bf63612 commit b186412
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -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/
.*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ include/
lib/
local
.idea/
*.iml
config.yml
db-config.sqlite
flexget.log
Expand Down
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM alpine
MAINTAINER Rémi Alvergnat <[email protected]>

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"]
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/<username>/.flexget:/root/.flexget --rm toilal/flexget

How to use GIT checkout
-----------------------
Expand Down

0 comments on commit b186412

Please sign in to comment.