Skip to content

Commit

Permalink
Merge pull request #137 from andrewjpage/docker
Browse files Browse the repository at this point in the history
Docker installation
  • Loading branch information
andrewjpage authored Sep 29, 2016
2 parents 7584adf + 5b00be1 commit 6343add
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# This container will install ARIBA from master
#
FROM debian:testing

#
# Authorship
#
MAINTAINER [email protected]

#
# Install the dependancies
#
RUN apt-get update -qq && apt-get install -y git bowtie2 cd-hit fastaq libc6 libfml0 libgcc1 libminimap0 libstdc++6 mash mummer python3 python3-setuptools python3-dev python3-pysam python3-pymummer python3-dendropy gcc g++ zlib1g-dev

#
# Get the latest code from github and install
#
RUN git clone https://github.com/sanger-pathogens/ariba.git && cd ariba && python3 setup.py install
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ If the tests all pass, install:

python3 setup.py install

### Docker
ARIBA can be run in a Docker container. First of all install Docker, then to install ARIBA run:

docker pull sangerpathogens/ariba

To use ARIBA you would use a command such as this (substituting in your directories), where your files are assumed to be stored in /home/ubuntu/data:

docker run --rm -it -v /home/ubuntu/data:/data sangerpathogens/ariba ariba -h


### Debian (testing)
ARIBA is available in the latest version of Debian, and over time will progressively filter through to Ubuntu and other distributions which use Debian. To install it as root:

sudo apt-get install ariba


### Dependencies and environment variables

Expand Down

0 comments on commit 6343add

Please sign in to comment.