diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5aa8f8d..2e28ef2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,10 +17,6 @@ jobs: python_version: "3.9" - name: python3.9 python_version: "3.9" - - name: python3.8 - python_version: "3.8" - - name: python3.7 - python_version: "3.7" fail-fast: true runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da72aab..dac911c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,10 +21,6 @@ jobs: python_version: "3.9" - name: python3.9 python_version: "3.9" - - name: python3.8 - python_version: "3.8" - - name: python3.7 - python_version: "3.7" fail-fast: true runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 7eb7bf2..8d75f2d 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,15 @@ ## Supported tags and respective `Dockerfile` links * [`python3.9`, `latest` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-docker/blob/master/docker-images/python3.9.dockerfile) -* [`python3.8` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-docker/blob/master/docker-images/python3.8.dockerfile) -* [`python3.7`, _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-docker/blob/master/docker-images/python3.7.dockerfile) -* [`python3.6` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-docker/blob/master/docker-images/python3.6.dockerfile) ## Deprecated tags 🚨 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.13` +* `python3.8` * `python3.8-alpine3.11` +* `python3.7` * `python3.7-alpine3.8` * `python3.6` * `python3.6-alpine3.8` @@ -21,7 +20,9 @@ The last date tags for these versions are: * `python3.9-alpine3.13-2024-03-11` +* `python3.8-2024-11-02` * `python3.8-alpine3.11-2024-03-11` +* `python3.7-2024-11-02` * `python3.7-alpine3.8-2024-03-11` * `python3.6-2022-11-25` * `python3.6-alpine3.8-2022-11-25` @@ -29,7 +30,7 @@ The last date tags for these versions are: --- -**Note**: There are [tags for each build date](https://hub.docker.com/r/tiangolo/meinheld-gunicorn/tags). If you need to "pin" the Docker image version you use, you can select one of those tags. E.g. `tiangolo/meinheld-gunicorn:python3.7-2019-10-15`. +**Note**: There are [tags for each build date](https://hub.docker.com/r/tiangolo/meinheld-gunicorn/tags). If you need to "pin" the Docker image version you use, you can select one of those tags. E.g. `tiangolo/meinheld-gunicorn:python3.9-2024-11-02`. # meinheld-gunicorn diff --git a/docker-images/python3.7.dockerfile b/docker-images/python3.7.dockerfile deleted file mode 100644 index cccba94..0000000 --- a/docker-images/python3.7.dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM python:3.7 - -ENV PYTHONDONTWRITEBYTECODE=1 -ENV PYTHONUNBUFFERED=1 - -LABEL maintainer="Sebastian Ramirez " - -COPY requirements.txt /tmp/requirements.txt -RUN pip install --no-cache-dir -r /tmp/requirements.txt - -COPY ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -COPY ./start.sh /start.sh -RUN chmod +x /start.sh - -COPY ./gunicorn_conf.py /gunicorn_conf.py - -COPY ./app /app -WORKDIR /app/ - -ENV PYTHONPATH=/app - -ENTRYPOINT ["/entrypoint.sh"] - -# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations) -# And then will start Gunicorn with Meinheld -CMD ["/start.sh"] diff --git a/docker-images/python3.8.dockerfile b/docker-images/python3.8.dockerfile deleted file mode 100644 index 0d2d0fc..0000000 --- a/docker-images/python3.8.dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM python:3.8 - -ENV PYTHONDONTWRITEBYTECODE=1 -ENV PYTHONUNBUFFERED=1 - -LABEL maintainer="Sebastian Ramirez " - -COPY requirements.txt /tmp/requirements.txt -RUN pip install --no-cache-dir -r /tmp/requirements.txt - -COPY ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -COPY ./start.sh /start.sh -RUN chmod +x /start.sh - -COPY ./gunicorn_conf.py /gunicorn_conf.py - -COPY ./app /app -WORKDIR /app/ - -ENV PYTHONPATH=/app - -ENTRYPOINT ["/entrypoint.sh"] - -# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations) -# And then will start Gunicorn with Meinheld -CMD ["/start.sh"]