Skip to content

Commit 32b2e34

Browse files
committed
FIX: Install validator within Docker environment
1 parent f776291 commit 32b2e34

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Dockerfile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ RUN useradd -m -s /bin/bash -G users nibabies
126126
WORKDIR /home/nibabies
127127
ENV HOME="/home/nibabies"
128128

129+
# Install node + npm packages
130+
RUN curl -sSL https://deb.nodesource.com/setup_14.x | bash - && \
131+
apt-get install -y --no-install-recommends \
132+
nodejs && \
133+
npm install -g svgo [email protected] && \
134+
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.npm ~/.empty
135+
129136
# Installing and setting up miniconda
130137
RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh && \
131138
bash Miniconda3-4.5.11-Linux-x86_64.sh -b -p /usr/local/miniconda && \
@@ -143,11 +150,10 @@ RUN conda install -y python=3.7.1 \
143150
numpy=1.20 \
144151
scipy=1.6 \
145152
scikit-learn=0.19 \
146-
matplotlib=2.2.2 \
147-
pandas=0.23.4 \
148-
libxml2=2.9.8 \
149-
libxslt=1.1.32 \
150-
graphviz=2.40.1 \
153+
matplotlib=2.2 \
154+
libxml2=2.9 \
155+
libxslt=1.1 \
156+
graphviz=2.40 \
151157
traits=4.6.0 \
152158
pip=19.1 \
153159
zlib; sync && \

0 commit comments

Comments
 (0)