Skip to content

Commit bcabb15

Browse files
committed
📦 Fix bids-validator installation
1 parent d8ce36d commit bcabb15

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
FROM docker.io/fcpindi/c-pac:release-v1.3.0
2-
LABEL org.opencontainers.image.authors="The C-PAC Team <[email protected]>"
2+
LABEL org.opencontainers.image.authors="The C-PAC Team <[email protected]>" \
3+
org.opencontainers.image.version="1.3.0.post2"
4+
ARG BIDS_VALIDATOR_VERSION="1.2.3"
5+
6+
# Install the validator
7+
RUN apt-get update && \
8+
apt-get install -y curl && \
9+
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
10+
apt-get install -y nodejs && \
11+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
12+
npm install -g "bids-validator@${BIDS_VALIDATOR_VERSION}"
313

414
# install cpac
515
COPY . /code

0 commit comments

Comments
 (0)