Skip to content

Commit

Permalink
🔥 Remove Alpine support
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Mar 17, 2024
1 parent 49d3538 commit 7c27e4b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 110 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
python_version: "3.9"
- name: python3.8-slim
python_version: "3.8"
- name: python3.9-alpine3.14
python_version: "3.9"
- name: python3.8-alpine3.10
python_version: "3.8"
- name: python3.7-alpine3.8
python_version: "3.7"
fail-fast: true
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
python_version: "3.9"
- name: python3.8-slim
python_version: "3.8"
- name: python3.9-alpine3.14
python_version: "3.9"
- name: python3.8-alpine3.10
python_version: "3.8"
- name: python3.7-alpine3.8
python_version: "3.7"
fail-fast: true
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,21 @@
* [`python3.9-slim` _(Dockerfile)_](https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/docker-images/python3.9-slim.dockerfile)
* [`python3.8-slim` _(Dockerfile)_](https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/docker-images/python3.8-slim.dockerfile)

## Discouraged tags

* [`python3.9-alpine3.14` _(Dockerfile)_](https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/docker-images/python3.9-alpine3.14.dockerfile)
* [`python3.8-alpine3.10` _(Dockerfile)_](https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/docker-images/python3.8-alpine3.10.dockerfile)
* [`python3.7-alpine3.8` _(Dockerfile)_](https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/docker-images/python3.7-alpine3.8.dockerfile)

To learn more about why Alpine images are discouraged for Python read the note at the end: [🚨 Alpine Python Warning](#-alpine-python-warning).

## Deprecated tags

🚨 These tags are no longer supported or maintained, they are removed from the GitHub repository, but the last version pushed is still available in Docker Hub.
🚨 These tags are no longer supported or maintained, they are removed from the GitHub repository, but the last versions pushed might still be available in Docker Hub if anyone has been pulling them.

* `python3.9-alpine3.14`
* `python3.8-alpine3.10`
* `python3.7-alpine3.8`
* `python3.6`
* `python3.6-alpine3.8`

The last versions with date tags for Python 3.6 are:
The last date tags for these versions are:

* `python3.9-alpine3.14-2024-03-11`
* `python3.8-alpine3.10-2024-03-11`
* `python3.7-alpine3.8-2024-03-11`
* `python3.6-2022-11-25`
* `python3.6-alpine3.8-2022-11-25`

Expand Down
28 changes: 0 additions & 28 deletions docker-images/python3.7-alpine3.8.dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions docker-images/python3.8-alpine3.10.dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions docker-images/python3.9-alpine3.14.dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "uvicorn-gunicorn-docker"
version = "0.1.0"
description = "Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python with performance auto-tuning. Optionally with Alpine Linux."
description = "Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python with performance auto-tuning."
authors = ["Sebastián Ramírez <tiangolo@gmail.com>"]
license = "MIT"

Expand Down
3 changes: 0 additions & 3 deletions scripts/process_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{"NAME": "python3.10-slim", "PYTHON_VERSION": "3.10"},
{"NAME": "python3.9-slim", "PYTHON_VERSION": "3.9"},
{"NAME": "python3.8-slim", "PYTHON_VERSION": "3.8"},
{"NAME": "python3.9-alpine3.14", "PYTHON_VERSION": "3.9"},
{"NAME": "python3.8-alpine3.10", "PYTHON_VERSION": "3.8"},
{"NAME": "python3.7-alpine3.8", "PYTHON_VERSION": "3.7"},
]

start_with = os.environ.get("START_WITH")
Expand Down

0 comments on commit 7c27e4b

Please sign in to comment.