Use Python 3.12 as default Docker base image (#1445)
* Use Python 3.12 as default Docker base image * Add standard OCI labels
This commit is contained in:
parent
1e4e87d515
commit
39854e1d79
14
Dockerfile
14
Dockerfile
|
@ -1,17 +1,19 @@
|
|||
FROM ghcr.io/abhinavsingh/proxy.py:base as builder
|
||||
|
||||
LABEL com.abhinavsingh.name="abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.title="proxy.py" \
|
||||
org.opencontainers.image.description="⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • \
|
||||
LABEL org.opencontainers.image.title="proxy.py" \
|
||||
org.opencontainers.image.description="💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • \
|
||||
😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • \
|
||||
👮🏿 \"Proxy Server\" framework • 🌐 \"Web Server\" framework • ➵ ➶ ➷ ➠ \"PubSub\" framework • \
|
||||
👷 \"Work\" acceptor & executor framework" \
|
||||
org.opencontainers.url="https://github.com/abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.url="https://github.com/abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.source="https://github.com/abhinavsingh/proxy.py" \
|
||||
com.abhinavsingh.docker.cmd="docker run -it --rm -p 8899:8899 abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.licenses="BSD-3-Clause" \
|
||||
org.opencontainers.image.authors="Abhinav Singh <mailsforabhinav@gmail.com>" \
|
||||
org.opencontainers.image.vendor="Abhinav Singh"
|
||||
org.opencontainers.image.vendor="Abhinav Singh" \
|
||||
org.opencontainers.image.created="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
|
||||
org.opencontainers.image.documentation="https://github.com/abhinavsingh/proxy.py#readme" \
|
||||
org.opencontainers.image.ref.name="abhinavsingh/proxy.py" \
|
||||
com.abhinavsingh.docker.cmd="docker run -it --rm -p 8899:8899 abhinavsingh/proxy.py"
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
FROM python:3.11-alpine
|
||||
FROM python:3.12-alpine
|
||||
|
||||
LABEL com.abhinavsingh.name="abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.title="proxy.py" \
|
||||
org.opencontainers.image.description="⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • \
|
||||
LABEL org.opencontainers.image.title="proxy.py" \
|
||||
org.opencontainers.image.description="💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • \
|
||||
😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • \
|
||||
👮🏿 \"Proxy Server\" framework • 🌐 \"Web Server\" framework • ➵ ➶ ➷ ➠ \"PubSub\" framework • \
|
||||
👷 \"Work\" acceptor & executor framework" \
|
||||
org.opencontainers.url="https://github.com/abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.url="https://github.com/abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.source="https://github.com/abhinavsingh/proxy.py" \
|
||||
com.abhinavsingh.docker.cmd="docker run -it --rm -p 8899:8899 abhinavsingh/proxy.py" \
|
||||
org.opencontainers.image.licenses="BSD-3-Clause" \
|
||||
org.opencontainers.image.authors="Abhinav Singh <mailsforabhinav@gmail.com>" \
|
||||
org.opencontainers.image.vendor="Abhinav Singh"
|
||||
org.opencontainers.image.vendor="Abhinav Singh" \
|
||||
org.opencontainers.image.created="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
|
||||
org.opencontainers.image.documentation="https://github.com/abhinavsingh/proxy.py#readme" \
|
||||
org.opencontainers.image.ref.name="abhinavsingh/proxy.py" \
|
||||
com.abhinavsingh.docker.cmd="docker run -it --rm -p 8899:8899 abhinavsingh/proxy.py"
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
[](https://abhinavsingh.com/proxy-py-a-lightweight-single-file-http-proxy-server-in-python/)
|
||||
|
||||
[](https://pypi.org/project/proxy.py/)
|
||||
[](https://www.python.org/)
|
||||
[](https://www.python.org/)
|
||||
[](http://mypy-lang.org/)
|
||||
|
||||
[](https://proxypy.readthedocs.io/)
|
||||
|
|
Loading…
Reference in New Issue