File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ tests
2+ .git
3+ node_modules
Original file line number Diff line number Diff line change 1+ FROM ubuntu:trusty
2+
3+ # # Install the validator
4+ RUN apt-get update && \
5+ apt-get install -y curl && \
6+ curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
7+ apt-get remove -y curl && \
8+ apt-get install -y nodejs && \
9+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
10+
11+ COPY . /src
12+
13+ RUN npm install -g /src
14+
15+ ENTRYPOINT /usr/bin/bids-validator
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ If the validator seems to be working longer than couple of minutes please open [
1212 1 . Install [ Node.js] ( https://nodejs.org ) (at least version 4.4.4)
1313 1 . From a terminal run ` npm install -g bids-validator `
1414 1 . Run ` bids-validator ` to start validating datasets.
15+ 1 . Docker
16+ 1 . Install Docker
17+ 1 . From a terminal run ` docker run -ti --rm -v /path/to/data:/data:ro bids/validator /data `
1518
1619## Support
1720
You can’t perform that action at this time.
0 commit comments