Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

:python

Python 3 runtime with ruff. Inherits all :core tools.

Base

FROM ghcr.io/driftsys/dock:core (via build context)

Installed tools

ToolInstall methodPurpose
python3apkPython 3 interpreter
pipapk (py3-pip)Package installer
ruffpipLinter and formatter

Usage in CI

jobs:
  lint:
    runs-on: ubuntu-latest
    container: ghcr.io/driftsys/dock:python
    steps:
      - uses: actions/checkout@v4
      - run: ruff check .
      - run: ruff format --check .

Approximate size

~55 MB (Alpine)