/tagstr-docker

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

Primary LanguageDockerfileMIT LicenseMIT

The project was merged into pauleveritt/tagstr-site

tagstr-docker

This directory contains Dockerfiles for CPython of lysnikolaou's tag-strings-rebased 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

How to pull from Docker Hub

$ docker pull koxudaxi/python:3.14.0a0-alpine3.20

How to run

$ docker run -it --rm koxudaxi/python:3.14.0a0-alpine3.20
Python 3.14.0a0 (heads/tag-strings-rebased:03af022, Jul 15 2024, 17:12:48) [GCC 13.2.1 20240309] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> def html(content):
...     return f"<html>{content}</html>"
...
>>> html"Hello, world!"
'<html>Hello, world!</html>'

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.0a0-alpine3.20
    • 3.14.0a0-tag-strings-rebased-alpine3.20
    • 3.14.0a0-tag-strings-rebased-03af022-alpine3.20
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-alpine3.20
  • alpine3.19
    • 3.14.0a0-alpine3.19
    • 3.14.0a0-tag-strings-rebased-alpine3.19
    • 3.14.0a0-tag-strings-rebased-03af022-alpine3.19
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-alpine3.19
  • bookworm
    • 3.14.0a0-bookworm
    • 3.14.0a0-tag-strings-rebased-bookworm
    • 3.14.0a0-tag-strings-rebased-03af022-bookworm
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-bookworm
  • bullseye
    • 3.14.0a0-bullseye
    • 3.14.0a0-tag-strings-rebased-bullseye
    • 3.14.0a0-tag-strings-rebased-03af022-bullseye
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-bullseye
  • slim-bookworm
    • 3.14.0a0-slim-bookworm
    • 3.14.0a0-tag-strings-rebased-slim-bookworm
    • 3.14.0a0-tag-strings-rebased-03af022-slim-bookworm
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-slim-bookworm
  • slim-bullseye
    • 3.14.0a0-slim-bullseye
    • 3.14.0a0-tag-strings-rebased-slim-bullseye
    • 3.14.0a0-tag-strings-rebased-03af022-slim-bullseye
    • 3.14.0a0-tag-strings-rebased-03af022d1285dbb42795591b7efbcc63cf9882c0-slim-bullseye