-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfiles for galaxy-update and galaxy-installer. Note galaxy.i…
…ni not included.
- Loading branch information
Showing
6 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# For updating Galaxy | ||
|
||
FROM galaxy/update | ||
|
||
RUN yum install -y mercurial | ||
RUN yum clean all | ||
|
||
VOLUME /cvmfs | ||
|
||
ENV GALAXY_INSTANCE main | ||
|
||
RUN mkdir -p /galaxy-repl/${GALAXY_INSTANCE} | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/migrated_tools /galaxy-repl/${GALAXY_INSTANCE}/migrated_tools | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/shed_tools /galaxy-repl/${GALAXY_INSTANCE}/shed_tools | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/deps /galaxy-repl/${GALAXY_INSTANCE}/deps | ||
RUN ln -s /galaxy-repl /galaxy | ||
|
||
RUN mkdir -p /srv/galaxy/${GALAXY_INSTANCE}/var | ||
RUN chown g2${GALAXY_INSTANCE}:803372 /srv/galaxy/${GALAXY_INSTANCE}/var | ||
|
||
EXPOSE 8888 | ||
|
||
COPY run_main.sh /run.sh | ||
COPY galaxy_main.ini /srv/galaxy/main/config/galaxy.ini | ||
|
||
ENTRYPOINT ["su", "-", "g2main", "-c", "/bin/sh /run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# For updating Galaxy | ||
|
||
FROM galaxy/update | ||
|
||
RUN yum install -y mercurial | ||
RUN yum clean all | ||
|
||
VOLUME /cvmfs | ||
|
||
ENV GALAXY_INSTANCE test | ||
|
||
RUN mkdir -p /galaxy-repl/${GALAXY_INSTANCE} | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/migrated_tools /galaxy-repl/${GALAXY_INSTANCE}/migrated_tools | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/shed_tools /galaxy-repl/${GALAXY_INSTANCE}/shed_tools | ||
RUN ln -s /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/deps /galaxy-repl/${GALAXY_INSTANCE}/deps | ||
RUN ln -s /galaxy-repl /galaxy | ||
|
||
RUN mkdir -p /srv/galaxy/${GALAXY_INSTANCE}/var | ||
RUN chown g2${GALAXY_INSTANCE}:803372 /srv/galaxy/${GALAXY_INSTANCE}/var | ||
|
||
EXPOSE 8888 | ||
|
||
COPY run_test.sh /run.sh | ||
COPY galaxy_test.ini /srv/galaxy/test/config/galaxy.ini | ||
|
||
ENTRYPOINT ["su", "-", "g2test", "-c", "/bin/sh /run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
GALAXY_INSTANCE=main | ||
|
||
. /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/venv/bin/activate | ||
cd /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/galaxy | ||
python ./scripts/paster.py serve /srv/galaxy/${GALAXY_INSTANCE}/config/galaxy.ini --server-name=${GALAXY_INSTANCE}_installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
GALAXY_INSTANCE=test | ||
|
||
. /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/venv/bin/activate | ||
cd /cvmfs/${GALAXY_INSTANCE}.galaxyproject.org/galaxy | ||
python ./scripts/paster.py serve /srv/galaxy/${GALAXY_INSTANCE}/config/galaxy.ini --server-name=${GALAXY_INSTANCE}_installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# For updating Galaxy | ||
|
||
FROM centos:6 | ||
|
||
MAINTAINER The Galaxy Project http://galaxyproject.org/ | ||
|
||
RUN yum groupinstall -y 'development tools' | ||
RUN yum install -y git | ||
RUN yum clean all | ||
RUN groupadd -g 803372 G-803372 | ||
RUN useradd -u 819456 -c 'Galaxy Test' -g 803372 -d /home/g2test -s /bin/bash -m g2test | ||
RUN useradd -u 819800 -c 'Galaxy Main' -g 803372 -d /home/g2main -s /bin/bash -m g2main | ||
|
||
COPY condarc /home/g2test/.condarc | ||
RUN chown g2test:803372 /home/g2test/.condarc | ||
COPY condarc /home/g2main/.condarc | ||
RUN chown g2main:803372 /home/g2main/.condarc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
always_softlink: True |