Skip to content

Error loading shared library libopenblas.so.3: No such file or directory #218

Closed
@sgr-smile2015

Description

@sgr-smile2015

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions