This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
forked from cganote/docker-ctat-galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
73 lines (56 loc) · 2.36 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
FROM bgruening/galaxy-stable
#ENV GALAXY_UID "1000"
#ENV GALAXY_GID "1000"
ENV GALAXY_CONFIG_BRAND "Trinity CTAT Galaxy"
ENV GALAXY_CONFIG_WEBHOOKS_DIR "$GALAXY_ROOT/config/plugins/webhooks/demo"
ENV GALAXY_CONFIG_CLEANUP_JOB "never"
WORKDIR /galaxy-central
#COPY startup /usr/bin/startup
#RUN chmod a+rx /usr/bin/startup
RUN add-tool-shed --url 'http://testtoolshed.g2.bx.psu.edu/' --name 'Test Tool Shed'
ADD tool_list.yaml $GALAXY_ROOT/tool_list.yaml
COPY viz.tgz $GALAXY_ROOT/config/plugins/visualizations
RUN tar -xzvf $GALAXY_ROOT/config/plugins/visualizations/viz.tgz
COPY jsonDataProvider.py jsonDataProvider.py
RUN cat jsonDataProvider.py >> $GALAXY_ROOT/lib/galaxy/datatypes/dataproviders/dataset.py
RUN mv $GALAXY_ROOT/lib/galaxy/datatypes/text.py $GALAXY_ROOT/lib/galaxy/datatypes/text.bkp.py
COPY text.py $GALAXY_ROOT/lib/galaxy/datatypes/text.py
## Add a few directories, to be imported as mount points...
## one for job working dir
## one for the resource libs
## and def for datafiles
ADD dependency_resolvers_conf.xml $GALAXY_ROOT/dependency_resolvers_conf.xml
RUN install-tools $GALAXY_ROOT/tool_list.yaml
COPY setup-data.sh $GALAXY_ROOT/setup-data.sh
COPY run_data_managers.yaml $GALAXY_ROOT/run_data_managers.yaml
ADD https://raw.githubusercontent.com/morinlab/tools-morinlab/master/docker/create_and_upload_history.py $GALAXY_ROOT/create_and_upload_history.py
VOLUME ["/export/", "/data/", "/var/lib/docker"]
RUN apt-get update
RUN apt-get install -y emacs
#RUN bash $GALAXY_ROOT/setup-data.sh
# General notes for Docker dealings:
#
#For my sanity
#sudo apt-get install emacs
#Install Docker the right way
#sudo apt-get remove docker docker-engine docker.io
#sudo apt-get update
#sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
#curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
#sudo apt-key fingerprint 0EBFCD88
#sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
#$(lsb_release -cs) \
#stable"
#sudo apt-get update
#sudo apt-get install docker-ce
#sudo docker run hello-world
#Create a space
#mkdir Dockergal
#cd Dockergal/
#Pull this github repo
#sudo docker build --no-cache -t my-docker-test .
#sudo docker run -i -t -p 80:80 my-docker-test /bin/bash
#Check running docker processes
#sudo docker ps
#Remove unneeded files
#sudo docker system prune