File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- ARG ALPINE_VERSION=3.11
2- ARG PYTHON_VERSION=3.7
1+ ARG ALPINE_VERSION=3.12
2+ ARG PYTHON_VERSION=3.8
33
44FROM python:${PYTHON_VERSION} AS lock
55WORKDIR /var/lib/pandas/
@@ -9,14 +9,13 @@ COPY Pipfile* /var/lib/pandas/
99RUN pipenv lock --requirements > requirements.txt
1010RUN pipenv lock --requirements --dev > requirements-dev.txt
1111
12- FROM alpine :${ALPINE_VERSION} as alpine
12+ FROM python :${PYTHON_VERSION}-alpine as alpine
1313WORKDIR /var/lib/pandas/
1414COPY --from=lock /var/lib/pandas/ .
15- RUN apk add --no-cache python3-dev libstdc++ && \
16- apk add --no-cache --virtual .build-deps g++ && \
15+ RUN apk add --no-cache --virtual .build-deps g++ && \
1716 ln -s /usr/include/locale.h /usr/include/xlocale.h && \
18- pip3 install $(grep numpy requirements.txt) && \
19- pip3 install -r requirements.txt && \
17+ pip install $(grep numpy requirements.txt) && \
18+ pip install -r requirements.txt && \
2019 apk del .build-deps
2120
2221FROM python:${PYTHON_VERSION}-slim AS slim
You can’t perform that action at this time.
0 commit comments