Skip to content

Commit 717bf24

Browse files
authored
Merge pull request #783 from GeertLitjens/master
Added fix for libpixman 0.38 bug
2 parents babb56e + 74bc08e commit 717bf24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ RUN pip install --upgrade dask && \
449449
sed -i "s/^.*Matplotlib is building the font cache using fc-list.*$/# Warning removed by Kaggle/g" /opt/conda/lib/python3.7/site-packages/matplotlib/font_manager.py && \
450450
# Make matplotlib output in Jupyter notebooks display correctly
451451
mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \
452+
# Temporary patch for broken libpixman 0.38 in conda-forge, symlink to system libpixman 0.34 untile conda package gets updated to 0.38.5 or higher.
453+
ln -sf /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.34.0 /opt/conda/lib/libpixman-1.so.0.38.0 && \
452454
/tmp/clean-layer.sh
453455

454456
# gcloud SDK https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu

0 commit comments

Comments
 (0)