Python 3.x Dockerfiles构建性能问题

Python 3.x Dockerfiles构建性能问题,python-3.x,dockerfile,Python 3.x,Dockerfile,构建以下DockerFile需要30分钟以上 FROM python:3.7-alpine COPY . /app WORKDIR /app RUN apk add --no-cache python3-dev libstdc++ && \ apk add --no-cache g++ && \ ln -s /usr/include/locale.h /usr/include/xlocale.h && \ pip insta

构建以下DockerFile需要30分钟以上

FROM python:3.7-alpine
COPY . /app
WORKDIR /app
RUN apk add --no-cache python3-dev libstdc++ && \
    apk add --no-cache g++ && \
    ln -s /usr/include/locale.h /usr/include/xlocale.h && \
    pip install --upgrade pip && \
    pip3 install --upgrade pip && \
    pip3 install allure-behave && \
    pip3 install -r requirements.txt
entrypoint ["sh", "testsuite.sh"]
要求文件:

behave==1.2.6
boto3==1.8.2
botocore==1.11.9
pandas==0.25.0
这正常吗