File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,26 +12,26 @@ RUN pipenv lock --requirements --dev > requirements-dev.txt
1212FROM python:${PYTHON_VERSION} AS latest
1313WORKDIR /var/lib/pandas/
1414COPY --from=lock /var/lib/pandas/ .
15- RUN pip install $(grep numpy requirements.txt) && \
15+ RUN pip install $(grep -Eoh ' numpy==[0-9.]+' requirements.txt) && \
1616 pip install -r requirements.txt
1717
1818FROM python:${PYTHON_VERSION} AS jupyter
1919WORKDIR /var/lib/pandas/
2020COPY --from=lock /var/lib/pandas/ .
21- RUN pip install $(grep numpy requirements.txt) && \
21+ RUN pip install $(grep -Eoh ' numpy==[0-9.]+' requirements.txt) && \
2222 pip install -r requirements.txt -r requirements-dev.txt
2323
2424FROM python:${PYTHON_VERSION}-slim AS slim
2525WORKDIR /var/lib/pandas/
2626COPY --from=lock /var/lib/pandas/ .
27- RUN pip install $(grep numpy requirements.txt) && \
27+ RUN pip install $(grep -Eoh ' numpy==[0-9.]+' requirements.txt) && \
2828 pip install -r requirements.txt
2929
3030FROM python:${PYTHON_VERSION}-alpine as alpine
3131WORKDIR /var/lib/pandas/
3232COPY --from=lock /var/lib/pandas/ .
3333RUN apk add --no-cache --virtual .build-deps g++ && \
3434 ln -s /usr/include/locale.h /usr/include/xlocale.h && \
35- pip install $(grep numpy requirements.txt) && \
35+ pip install $(grep -Eoh ' numpy==[0-9.]+' requirements.txt) && \
3636 pip install -r requirements.txt && \
3737 apk del .build-deps
You can’t perform that action at this time.
0 commit comments