koxudaxi/python

Sponsored OSS

By koxudaxi

Updated about 1 year ago

Dockerfiles for CPython of lysnikolaou's tag-strings-rebased branch.

Image
Languages & frameworks
Data science
Monitoring & observability
0

10K+

koxudaxi/python repository overview

tagstr-docker

This directory contains Dockerfiles for CPython of lysnikolaou's tstrings branch.

The dockerfile were generated with a patched version of the official dockerfile code generator. The patched code generator and Dockerfiles exist in Koudai's(@koxudaxi) repository is fork on the official Python Dockerfile repository.

All images are available on Docker Hub. These images are built and published on GitHub Actions (and Old GitHub Actions)

How to pull from Docker Hub

$ docker pull koxudaxi/python:3.14-rc-alpine3.20

How to run

$ docker run -it --rm koxudaxi/python:3.14-rc-alpine3.20
Python 3.14.0a1+ (heads/tstrings:499d70c, Oct 21 2024, 19:13:41) [GCC 13.2.1 20240309] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from templatelib import Template, Interpolation
>>> name = "World"
>>> template = t"Hello {name}"
>>> assert isinstance(template.args[0], str)
>>> assert isinstance(template.args[1], Interpolation)
>>> assert template.args[0] == "Hello "
>>> assert template.args[1].value == "World"

How to build from Dockerfile

$ make build # default base image is alpine3.20
$ make build BASE_IMAGE=slim-bookworm # base image is debian:bookworm-slim
$ make build-all # build all base images

Base images

  • alpine3.20
  • alpine3.19
  • bookworm
  • bullseye
  • slim-bookworm
  • slim-bullseye

All tags for each base image

  • alpine3.20
    • 3.14-rc-alpine3.20
    • 3.14-rc-tstrings-alpine3.20
    • 3.14-rc-tstrings-44749c7-alpine3.20
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-alpine3.20
  • alpine3.19
    • 3.14-rc-alpine3.19
    • 3.14-rc-tstrings-alpine3.19
    • 3.14-rc-tstrings-44749c7-alpine3.19
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-alpine3.19
  • bookworm
    • 3.14-rc-bookworm
    • 3.14-rc-tstrings-bookworm
    • 3.14-rc-tstrings-44749c7-bookworm
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-bookworm
  • bullseye
    • 3.14-rc-bullseye
    • 3.14-rc-tstrings-bullseye
    • 3.14-rc-tstrings-44749c7-bullseye
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-bullseye
  • slim-bookworm
    • 3.14-rc-slim-bookworm
    • 3.14-rc-tstrings-slim-bookworm
    • 3.14-rc-tstrings-44749c7-slim-bookworm
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-slim-bookworm
  • slim-bullseye
    • 3.14-rc-slim-bullseye
    • 3.14-rc-tstrings-slim-bullseye
    • 3.14-rc-tstrings-44749c7-slim-bullseye
    • 3.14-rc-tstrings-44749c7c19122b01ae9614ca4c654eebd0ad9d77-slim-bullseye

Tag summary

Content type

Image

Digest

sha256:8d43d6250

Size

42.6 MB

Last updated

about 1 year ago

docker pull koxudaxi/python:sha-7ee42bb

This week's pulls

Pulls:

118

Last week