annotate smalt/Dockerfile @ 9:81f36745bc9d draft

Uploaded
author triasteran
date Tue, 08 Mar 2022 11:43:08 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
1 # Galaxy - SMALT
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
2 # From https://toolshed.g2.bx.psu.edu/repository/view_repository?sort=Repository.name&operation=view_or_manage_repository&changeset_revision=54855bd8d107&id=ec70d959cc6d865d
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
3
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
4 FROM debian:wheezy
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
5
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
6 MAINTAINER Aaron Petkau, aaron.petkau@gmail.com
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
7
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
8 # make sure the package repository is up to date
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
9 RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
10
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
11 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
12 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
13 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y mercurial
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
14
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
15 RUN mkdir /tmp/smalt
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
16 WORKDIR /tmp/smalt
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
17
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
18 RUN wget ftp://ftp.sanger.ac.uk/pub4/resources/software/smalt/smalt-0.7.3.tgz
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
19 RUN tar -xvvzf smalt-0.7.3.tgz
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
20 RUN cp smalt-0.7.3/smalt_x86_64 /usr/bin/smalt_unknown
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
21
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
22 RUN hg clone https://toolshed.g2.bx.psu.edu/repos/cjav/smalt smalt_deps
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
23 RUN cp smalt_deps/smalt_wrapper.py /usr/bin/smalt_wrapper.py
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
24 RUN chmod a+x /usr/bin/smalt_wrapper.py
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
25
81f36745bc9d Uploaded
triasteran
parents:
diff changeset
26 RUN apt-get clean && rm -rf /tmp/smalt && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*