Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A base [Docker image](https://www.docker.com/) for Cal-ITP Python web applicatio

## Features

- Base image `python:3.12-bookworm`
- Base image `python:3.14-trixie`
- Image configured with non-`root` user (`calitp` by default)
- `nginx` configured as a reverse proxy listening on container port `8000`
- `gunicorn` configured as a WSGI application server, communicates with `nginx` over Unix socket
Expand Down
9 changes: 3 additions & 6 deletions appcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# declare default build args for later stages
ARG PYTHON_VERSION=3.12 \
ARG PYTHON_VERSION=3.14 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
USER=calitp \
USER_UID=1000 \
USER_GID=1000

# we can start using debian 13 as soon as an ubuntu 26.04 hosted github actions runner image is available
# https://github.com/actions/runner-images
# https://launchpad.net/ubuntu/resolute/+package/gettext
# https://packages.debian.org/trixie/gettext
FROM python:3.12-bookworm
# the version of gettext packaged with Debian 13 (AKA "trixie") matches Ubuntu 26.04 (our hosted Github Actions runner)
FROM python:3.14-trixie

# renew top-level args in this stage
ARG PYTHON_VERSION \
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In your `benefits` repository:
1. In the benefits Dockerfile:

```bash
ghcr.io/cal-itp/docker-python-web:main
ghcr.io/cal-itp/docker-python-web:<version>
# becomes
docker-python-web:app
```
Expand All @@ -38,7 +38,7 @@ In your `eligibility-server` repository
1. In the eligibility-server Dockerfile:

```bash
ghcr.io/cal-itp/docker-python-web:main
ghcr.io/cal-itp/docker-python-web:<version>
# becomes
docker-python-web:app
```
Expand Down