File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ RUN ARCH=$([ "${TARGETARCH}" = "arm64" ] && echo "sbsa" || echo "x86_64") && \
169169 apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${ARCH}/3bf863cc.pub && \
170170 add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${ARCH}/ /" && \
171171 apt install -y --no-install-recommends \
172+ # Add libc and libc-bin for security issue VE-2023-4911
173+ libc6 \
174+ libc-bin \
172175 ca-certificates \
173176 clang-format \
174177 curl \
@@ -300,8 +303,9 @@ COPY --chown=1000:1000 --from=dlfw /usr/local/lib/python${PYTHON_VERSION}/dist-p
300303COPY --chown=1000:1000 --from=dlfw /usr/local/lib/python${PYTHON_VERSION}/dist-packages/cubinlinker-*.dist-info /usr/local/lib/python${PYTHON_VERSION}/dist-packages/cubinlinker.dist-info/
301304
302305# There 'Illegal instruction' error, add env 'LIGHTFM_NO_CFLAGS' to workaround
306+ # Add pyarrow-hotfix for https://github.com/advisories/GHSA-5wvp-7f3h-6wmm
303307ENV LIGHTFM_NO_CFLAGS=1
304- RUN pip install --no-cache-dir jupyterlab notebook pydot testbook numpy==1.22.4 lightfm
308+ RUN pip install --no-cache-dir jupyterlab notebook pydot testbook numpy==1.22.4 lightfm pyarrow-hotfix
305309
306310ENV JUPYTER_CONFIG_DIR=/tmp/.jupyter
307311ENV JUPYTER_DATA_DIR=/tmp/.jupyter
You can’t perform that action at this time.
0 commit comments