Closed
Description
my dockerfile :
FROM python:3.5-alpine
RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --update --no-cache \
ca-certificates \
RUN apk --no-cache add --virtual .build-deps \
gcc \
g++ \
openblas-dev \
&& ln -s /usr/include/locale.h /usr/include/xlocale.h \
&& pip3 install --no-cache-dir --disable-pip-version-check \
numpy==1.11.0 \
pandas==0.18.0 \
scipy==0.13.3 \
&& apk del .build-deps
in step 2: RUN apk add --update openblas-dev build sucessful,but image have 500MB,
Because alpine does not support dynamic libraries? how can i reduce image size, thank l lot!!
Metadata
Metadata
Assignees
Labels
No labels