Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5 from flywheel-apps/version-0.3.3
Browse files Browse the repository at this point in the history
Update version and dockerfile
  • Loading branch information
ehlertjd authored Feb 27, 2018
2 parents af9b87d + d4374cf commit 9adce53
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
28 changes: 17 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MAINTAINER Flywheel <[email protected]>
# Install JQ to parse config file
RUN apt-get update && apt-get -y install jq

# Install jsonschema
RUN pip install jsonschema==2.6.0
# Install jsonschema and dateutil
RUN pip install jsonschema==2.6.0 python-dateutil==2.6.1

# Install python SDK
RUN pip install https://github.com/flywheel-io/sdk/releases/download/0.3.0/flywheel-0.3.0-py2-none-linux_x86_64.whl
Expand All @@ -19,20 +19,26 @@ COPY run ${FLYWHEEL}/run
COPY manifest.json ${FLYWHEEL}/manifest.json

# Copy code into place
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/curate_bids.py?token=AWK3zPF-uXts9N-9SH9hYBXgQVKcQpE3ks5aPSPgwA%3D%3D ${FLYWHEEL}/curate_bids.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/bidsify_flywheel.py?token=AWK3zNW2vO49Umrxq8YgLsH6lUlU794eks5aPSjgwA%3D%3D ${FLYWHEEL}/supporting_files/bidsify_flywheel.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/utils.py?token=AWK3zM-WkIsWINlhAn2u7N1fdOMqltsJks5aPSkBwA%3D%3D ${FLYWHEEL}/supporting_files/utils.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/__init__.py?token=AWK3zKrpvdr5jHH65Vo6cKxQmSR77yoPks5aPTCvwA%3D%3D ${FLYWHEEL}/supporting_files/__init__.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/classifications.py?token=AWK3zEbMM0Y8QhLza2tgVU_3_PoZMppiks5aPTD_wA%3D%3D ${FLYWHEEL}/supporting_files/classifications.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/templates.py?token=AWK3zCCHOpwwpUGST9EJUdJ8ZCmuP45iks5aPTFPwA%3D%3D ${FLYWHEEL}/supporting_files/templates.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/templates/bids-v1.json?token=AWK3zCCHOpwwpUGST9EJUdJ8ZCmuP45iks5aPTFPwA%3D%3D ${FLYWHEEL}/templates/bids-v1.json
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/curate_bids.py ${FLYWHEEL}/curate_bids.py

ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/__init__.py ${FLYWHEEL}/supporting_files/__init__.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/bidsify_flywheel.py ${FLYWHEEL}/supporting_files/bidsify_flywheel.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/classifications.py ${FLYWHEEL}/supporting_files/classifications.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/project_tree.py ${FLYWHEEL}/supporting_files/project_tree.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/resolver.py ${FLYWHEEL}/supporting_files/resolver.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/templates.py ${FLYWHEEL}/supporting_files/templates.py
ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/supporting_files/utils.py ${FLYWHEEL}/supporting_files/utils.py

ADD https://raw.githubusercontent.com/flywheel-io/bids-client/master/templates/bids-v1.json ${FLYWHEEL}/templates/bids-v1.json

RUN chmod +x ${FLYWHEEL}/curate_bids.py
RUN chmod +x ${FLYWHEEL}/supporting_files/__init__.py
RUN chmod +x ${FLYWHEEL}/supporting_files/bidsify_flywheel.py
RUN chmod +x ${FLYWHEEL}/supporting_files/utils.py
RUN chmod +x ${FLYWHEEL}/supporting_files/classifications.py
RUN chmod +x ${FLYWHEEL}/supporting_files/project_tree.py
RUN chmod +x ${FLYWHEEL}/supporting_files/resolver.py
RUN chmod +x ${FLYWHEEL}/supporting_files/templates.py
RUN chmod +x ${FLYWHEEL}/supporting_files/__init__.py
RUN chmod +x ${FLYWHEEL}/supporting_files/utils.py

# Set the entrypoint
ENTRYPOINT ["/flywheel/v0/run"]
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"maintainer": "Flywheel <[email protected]>",
"source": "https://github.com/flywheel-apps/curate-bids",
"url": "http://bids.neuroimaging.io/",
"version": "0.3.2",
"version": "0.3.3",
"custom": {
"docker-image": "flywheel/curate-bids:v0.3.2"
"docker-image": "flywheel/curate-bids:v0.3.3"
},
"license": "BSD-3-Clause",
"inputs": {
Expand Down

0 comments on commit 9adce53

Please sign in to comment.