Latest Python 3.10 and latest Alpine + 4Sigma tools + poetry
This commit is contained in:
parent
90ba1eeedd
commit
7d65556c9e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.code-workspace
|
||||||
17
Dockerfile
17
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.10.5-alpine AS build-image
|
FROM python:3.10-alpine AS build-image
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
@ -6,17 +6,6 @@ RUN apk update \
|
|||||||
make autoconf libtool postgresql-dev build-base g++ gcc \
|
make autoconf libtool postgresql-dev build-base g++ gcc \
|
||||||
unixodbc-dev freetds-dev libffi libffi-dev czmq-dev libxml2-dev \
|
unixodbc-dev freetds-dev libffi libffi-dev czmq-dev libxml2-dev \
|
||||||
libxslt-dev automake cmake git openssl-dev ffmpeg libwebp-dev \
|
libxslt-dev automake cmake git openssl-dev ffmpeg libwebp-dev \
|
||||||
cargo
|
poetry
|
||||||
|
|
||||||
RUN /usr/local/bin/pip install poetry
|
CMD ["/bin/bash"]
|
||||||
|
|
||||||
FROM python:3.10.5-alpine AS deploy-image
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
bash postgresql-client libpq jpeg-dev zlib-dev musl-dev \
|
|
||||||
make autoconf libtool postgresql-dev build-base g++ gcc \
|
|
||||||
unixodbc-dev freetds-dev libffi libffi-dev czmq-dev libxml2-dev \
|
|
||||||
libxslt-dev automake cmake git openssl-dev ffmpeg libwebp-dev \
|
|
||||||
cargo
|
|
||||||
|
|
||||||
COPY --from=build-image /usr/local/bin/poetry /usr/local/bin/poetry
|
|
||||||
COPY --from=build-image /usr/local/lib/python3.10 /usr/local/lib/python3.10
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user