Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@e-hamrin
Copy link
Contributor

@e-hamrin e-hamrin commented Sep 5, 2025

Hi! First PR so hope I get this right.

Changes

Updated the old Dockerfile that used Blaze build, to using Ninja.

Wheels are not included in the final image to make it as small as possible.

@e-hamrin
Copy link
Contributor Author

Hey @abdnh thanks for the input, missed that! 😀 I have updated the python version now, builds as expected.

@e-hamrin e-hamrin requested a review from abdnh September 15, 2025 17:40
@dae
Copy link
Member

dae commented Sep 17, 2025

Thank you both!

@dae dae merged commit 7e8a107 into ankitects:main Sep 17, 2025
1 check passed
AmandaSternberg-creator pushed a commit to AmandaSternberg-creator/anki that referenced this pull request Sep 25, 2025
* Updated Dockerfile to support ninja build

* Install python using uv

* Bumped python version

* Add disclaimer (dae)

# Install pre-compiled Anki.
FROM python:${PYTHON_VERSION}-slim as installer
FROM python:3.13-slim AS installer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be interested to know more about hardcoding the vesion here vs. using the PYTHON_VERSION environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants