@@ -38,11 +38,6 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
38
38
&& apt-get clean \
39
39
&& rm -rf /var/lib/apt/lists/*
40
40
41
- # Install Node and vega-cli for server-side image rendering
42
- RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
43
- RUN apt-get -y install nodejs
44
- RUN npm install -g --unsafe-perm vega-cli@5.13.0 vega-lite@4.13.0 canvas@2.6.1
45
-
46
41
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
47
42
locale-gen
48
43
@@ -62,9 +57,6 @@ ENV LANG en_US.UTF-8
62
57
ENV LANGUAGE en_US.UTF-8
63
58
ENV PATH $HOME/.local/bin:$PATH
64
59
65
- # Disable npm package update notifications (DEV-4202)
66
- ENV NO_UPDATE_NOTIFIER=1
67
-
68
60
# Create jovyan user with UID=1000 and in the root group
69
61
# See https://github.com/jupyter/docker-stacks/issues/188
70
62
RUN useradd -m -s /bin/bash -N -u $NB_UID -g 0 $NB_USER
@@ -140,12 +132,5 @@ ENV PYTHONPATH "/home/jovyan/.local/lib/python3.9"
140
132
# Provide full access to the Python directory to allow for pip installs
141
133
RUN chown -R $NB_USER:root /usr/local/lib/python3.9
142
134
143
- # Fix for transparency issue
144
- # Pin in onecodex/onecodex once version w/ fix is released
145
- # https://github.com/Kozea/WeasyPrint/commit/4dfe6079c2d1bd91cccfd9a7d78f8924e2dfabef
146
- RUN pip install --force-reinstall 'git+https://github.com/Kozea/WeasyPrint.git@4dfe6079c2d1bd91cccfd9a7d78f8924e2dfabef'
147
-
148
- RUN pip install --force-reinstall 'git+https://github.com/CourtBouillon/pydyf.git@f340fcc949382e183118b4807491b9f5cab4a89b'
149
-
150
135
# Switch to unprivileged user, jovyan
151
136
USER $NB_USER
0 commit comments