@@ -98,12 +98,14 @@ ARG BUILD_CCACHE_SIZE="1Gi"
98
98
# ninja-build, ccache, and lld are optional but improve the build
99
99
RUN apt-get -qq update && apt-get -qq install -y \
100
100
libncurses5 python3 python3-pip git apt-utils ssh ca-certificates \
101
- libpng-dev libjpeg-dev pkg-config python3-distutils \
101
+ libomp5 libpng-dev libjpeg-dev pkg-config python3-distutils \
102
102
build-essential ninja-build && \
103
103
apt-get clean && \
104
104
/usr/bin/python3 -m pip install --no-cache-dir --upgrade pip && \
105
105
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
106
- update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
106
+ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \
107
+ ln -s libomp.so.5 /usr/lib/x86_64-linux-gnu/libomp.so && \
108
+ ldconfig
107
109
108
110
RUN mkdir /tmp/ccache-install && \
109
111
cd /tmp/ccache-install && \
@@ -372,14 +374,16 @@ ENV DEBIAN_FRONTEND=noninteractive
372
374
# Install core packages
373
375
RUN apt-get -qq update && apt-get -qq install -y \
374
376
libncurses5 python3 python3-pip python3-distutils \
375
- libpng16-16 libjpeg-turbo8 libsodium23 \
377
+ libomp5 libpng16-16 libjpeg-turbo8 libsodium23 \
376
378
curl git apt-utils ssh ca-certificates tmux nano vim-tiny sudo bash \
377
379
rsync htop wget unzip tini && \
380
+ apt-get clean && \
378
381
/usr/bin/python3 -m pip install --no-cache-dir --upgrade pip && \
379
382
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
380
383
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \
381
384
update-alternatives --install /usr/bin/vim vim /usr/bin/vim.tiny 1 && \
382
- apt-get clean
385
+ ln -s libomp.so.5 /usr/lib/x86_64-linux-gnu/libomp.so && \
386
+ ldconfig
383
387
384
388
RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends \
385
389
software-properties-common && \
0 commit comments