-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from common-workflow-language/cwltool
Cwltool parsing and API
- Loading branch information
Showing
207 changed files
with
32,457 additions
and
2,257 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM maven:3.3-jdk-8-alpine | ||
FROM maven:3.5-jdk-8-alpine | ||
MAINTAINER Stian Soiland-Reyes <[email protected]> | ||
|
||
# Build-time metadata as defined at http://label-schema.org | ||
|
@@ -16,7 +16,14 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ | |
org.label-schema.schema-version="1.0" | ||
|
||
|
||
RUN apk add --update graphviz ttf-freefont && rm -rf /var/cache/apk/* | ||
RUN apk add --update graphviz ttf-freefont py2-pip gcc python2-dev libc-dev && rm -rf /var/cache/apk/* | ||
|
||
|
||
#wheel needed by ruamel.yaml for some reason | ||
RUN pip install wheel | ||
RUN pip install cwltool html5lib ruamel.yaml==0.12.4 | ||
|
||
RUN cwltool --version | ||
|
||
RUN mkdir /usr/share/maven/ref/repository | ||
|
||
|
@@ -38,7 +45,4 @@ WORKDIR /tmp | |
|
||
EXPOSE 8080 | ||
|
||
# Expects mongodb on port 27017 | ||
ENV SPRING_DATA_MONGODB_HOST=mongo | ||
ENV SPRING_DATA_MONGODB_PORT=27017 | ||
CMD ["/usr/bin/java", "-jar", "/usr/lib/cwlviewer.jar"] |
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
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
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
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 |
---|---|---|
@@ -1,15 +1,27 @@ | ||
version: '2' | ||
services: | ||
spring: | ||
image: commonworkflowlanguage/cwlviewer | ||
# To run from this source code instead of Docker hub, | ||
# disable "image:"" and enable "build:" below | ||
image: commonworkflowlanguage/cwlviewer | ||
#build: . | ||
ports: | ||
- "8080:8080" | ||
# TODO: | ||
# volumes: | ||
# - .:/code | ||
links: | ||
- mongo | ||
|
||
- sparql | ||
environment: | ||
- SPARQL_ENDPOINT=http://sparql:3030/cwlviewer/ | ||
- SPRING_DATA_MONGODB_HOST=mongo | ||
- SPRING_DATA_MONGODB_PORT=27017 | ||
mongo: | ||
image: mongo | ||
sparql: | ||
## For debugging, expose the Fuseki port by enabling: | ||
# ports: | ||
# - "3030:3030" | ||
## To find the admin password, try: | ||
## docker-compose exec sparql grep admin /fuseki/shiro.ini | ||
image: stain/jena-fuseki | ||
# FIXME: --loc=/fuseki/databases/cwlviewer fails as it needs empty dir | ||
command: "/jena-fuseki/fuseki-server --loc=/fuseki/databases /cwlviewer" |
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
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
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
Oops, something went wrong.