Skip to content

Commit 95fdebf

Browse files
Merge branch 'release/1.1.2-java8'
2 parents 17108ad + 3e0d7c6 commit 95fdebf

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SeqWare
1+
# SeqWare
22
#
3-
# VERSION 1.1.0-alpha.6
3+
# VERSION 1.1.2
44
#
55
# Setup SeqWare with WhiteStar (no sge, no oozie, no metadata)
66
# Volume mount \datastore to persist the contents of your workflows
@@ -31,10 +31,10 @@ WORKDIR /home/seqware
3131
USER seqware
3232
# setup seqware white star
3333
RUN git clone https://github.com/SeqWare/seqware-bag.git
34-
WORKDIR /home/seqware/seqware-bag
35-
RUN git checkout 1.0-beta.0
34+
WORKDIR /home/seqware/seqware-bag
35+
RUN git checkout 1.0.1
3636
ADD inventory /etc/ansible/hosts
37-
RUN ansible-playbook mini-seqware-install.yml -c local --extra-vars "seqware_version=1.1.1"
37+
RUN ansible-playbook mini-seqware-install.yml -c local --extra-vars "seqware_version=1.1.2"
3838
ENV PATH /home/seqware/bin:/tmp/ansible/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
3939
# at this point, seqware has been fully setup
4040
USER root

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
1+
[![](https://badge.imagelayers.io/seqware/seqware_whitestar:latest.svg)](https://imagelayers.io/?images=seqware/seqware_full:latest 'Get your own badge on imagelayers.io')
2+
13
## Users - running the container
24

5+
These steps take place in a temporary directory that you create for playing around with this container.
6+
37
1. Set permissions on datastore which will hold results of workflows after they run
48

59
mkdir workflows && mkdir datastore
610
chmod a+wrx workflows && chmod a+wrx datastore
711

8-
2. Run container and login with the following (while persisting workflow run directories to datastore).
9-
10-
docker run --rm -h master -t -v `pwd`/datastore:/datastore -i seqware/seqware_whitestar:1.1.1
12+
The workflows directory can be used later to store additional workflows that you wish to run. Datastore will contain the results of your workflow. This tutorial will use the HelloWorld workflow which is pre-built into the container and does not need to be installed in /datastore .
13+
14+
2. Run container and login with the following (while persisting workflow run directories to datastore).
1115

12-
3. You should now be inside the running container. Run the HelloWorld (sample) workflow with
16+
docker run --rm -h master -t -v `pwd`/datastore:/datastore -i seqware/seqware_whitestar:1.1.2-java8
17+
18+
3. You should now be inside the running container. Run the HelloWorld (sample) workflow with
19+
20+
seqware bundle launch --dir ~/provisioned-bundles/Workflow_Bundle_HelloWorld_1.0-SNAPSHOT_SeqWare_1.1.2-java8/ --no-metadata
1321

14-
seqware bundle launch --dir ~/provisioned-bundles/Workflow_Bundle_HelloWorld_1.0-SNAPSHOT_SeqWare_1.1.1/ --no-metadata
15-
1622
4. Exit the container
1723

1824
exit
1925

2026
5. Note that you can also run commands or workflows programmatically rather than interactively.
2127

22-
docker run --rm -h master -t -v `pwd`/datastore:/mnt/datastore -i seqware/seqware_whitestar:1.1.1 seqware bundle launch --dir /home/seqware/provisioned-bundles/Workflow_Bundle_HelloWorld_1.0-SNAPSHOT_SeqWare_1.1.1/ --no-metadata
28+
docker run --rm -h master -t -v `pwd`/datastore:/mnt/datastore -i seqware/seqware_whitestar:1.1.2-java8 seqware bundle launch --dir /home/seqware/provisioned-bundles/Workflow_Bundle_HelloWorld_1.0-SNAPSHOT_SeqWare_1.1.2-java8/ --no-metadata
2329

2430
6. Note that the Docker client is installed in the container so you can connect the client with the host's Docker daemon in order to run workflows that use Docker calls
2531

26-
docker run -h master --rm -t -i -v /var/run/docker.sock:/var/run/docker.sock seqware/seqware_whitestar:1.1.1
32+
docker run -h master --rm -t -i -v /var/run/docker.sock:/var/run/docker.sock seqware/seqware_whitestar:1.1.2-java8
2733
docker run -t -i ubuntu /bin/bash
2834

35+
**NOTE:** There are two versions of seqware/seqware_whitestar version "1.1.2":
36+
- seqware/seqware_whitestar:1.1.2 which contains Java 6.
37+
- seqware/seqware_whitestar:1.1.2-java8 which contains Java 8.
38+
2939
## Developers - building the image locally
3040

31-
1. Assuming docker is installed properly, build image with
41+
1. Assuming docker is installed properly, build image with
3242

33-
docker build -t seqware/seqware_whitestar:1.1.1 .
43+
docker build -t seqware/seqware_whitestar:1.1.2-java8 .

0 commit comments

Comments
 (0)