Skip to content

Commit

Permalink
Bump container base image to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Jun 18, 2024
1 parent cd03fc5 commit 48089e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Write the date in place of the "Unreleased" in the case a new version is release
avoiding `eval()` altogether is better practice for defense-in-depth against
potential code injection attacks due to current or future bugs in Tiled or
its upstream dependencies.
- Updated container base image to Python 3.12.

## v0.1.0b3 (2024-06-04)

Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ WORKDIR /code
COPY web-frontend .
RUN npm install && npm run build

# We cannot upgrade to Python 3.11 until numba supports it.
# The `sparse` library relies on numba.
FROM python:3.11-slim as builder
FROM python:3.12-slim as builder

# We need git at build time in order for versioneer to work, which in turn is
# needed for the server to correctly report the library_version in the /api/v1/
Expand Down Expand Up @@ -40,7 +38,7 @@ RUN TILED_BUILD_SKIP_UI=1 pip install '.[server]'
# RUN pip install '.[client,dev]'
# RUN pytest -v

FROM python:3.11-slim as runner
FROM python:3.12-slim as runner

ENV VIRTUAL_ENV=/opt/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
Expand Down

0 comments on commit 48089e5

Please sign in to comment.