-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile
34 lines (29 loc) · 1.56 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM dockershelf/debian:sid
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=${BUILD_DATE} \
org.label-schema.name="python3.11" \
org.label-schema.description="A Python 3.11 image based on Debian sid" \
org.label-schema.url="https://github.com/Dockershelf/dockershelf" \
org.label-schema.vcs-ref=${VCS_REF} \
org.label-schema.vcs-url="https://github.com/Dockershelf/dockershelf" \
org.label-schema.vendor="Luis Alejandro Martínez Faneyth" \
org.label-schema.version=${VERSION} \
org.label-schema.schema-version="1.0.0-rc.1" \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.title="python3.11" \
org.opencontainers.image.description="A Python 3.11 image based on Debian sid" \
org.opencontainers.image.url="https://github.com/Dockershelf/dockershelf" \
org.opencontainers.image.revision=${VCS_REF} \
org.opencontainers.image.source="https://github.com/Dockershelf/dockershelf" \
org.opencontainers.image.vendor="Luis Alejandro Martínez Faneyth" \
org.opencontainers.image.version=${VERSION} \
org.opencontainers.image.licenses="GPL-3.0" \
maintainer="Luis Alejandro Martínez Faneyth <[email protected]>"
ENV PYTHON_VER_NUM="3.11" PYTHON_DEBIAN_SUITE="sid" \
PYTHONIOENCODING="UTF-8" PIP_BREAK_SYSTEM_PACKAGES=1 \
PYTHONPATH="/usr/lib/python3.11/dist-packages:/usr/lib/python3.11/site-packages"
COPY build-image.sh library.sh /usr/share/dockershelf/python/
RUN bash /usr/share/dockershelf/python/build-image.sh
CMD ["python"]