Metadata-Version: 2.1
Name: backend.ai-krunner-alpine
Version: 5.0.0rc0
Summary: Backend.AI Kernel Runner for Alpine
Home-page: https://backend.ai
Author: Lablup Inc.
Author-email: devops@lablup.com
License: MIT
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: build
Provides-Extra: test
Provides-Extra: dev
Provides-Extra: ci
License-File: LICENSE

# backend.ai-krunner-alpine
Backend.AI Kernel Runner Package for Alpine-based Kernels

## Development & Updating

Please refer [the README of krunner-ubuntu package](https://github.com/lablup/backend.ai-krunner-ubuntu/blob/master/README.md).

## Making a minimal Alpine-based image compatibile with this krunner package

Use Alpine 3.17 or later and install the following packages:

```console
sudo apk add \
  openssl \
  ca-certificates \
  tzdata \
  readline \
  gdbm \
  libffi \
  ncurses
```

## Notes

musl *DOES NOT* support dynamic loading of 3rd-party libraries (i.e., Python binary modules) when the CPython interpreter is built statically.

So we keep the CPython interpreter as dynamic, using the standard build procedure taken from [the Docker Hub's Python library](https://github.com/docker-library/python/blob/a1af335ee34324b2f40d7e90345f9468328f6a00/3.11/alpine3.17/Dockerfile).

As Alpine Linux is the only well-known musl-based Linux distribution, we keep our version compatibility of this package based on the musl's ABI compatibility, which is currently 1.2 in Alpine 3.17.
