remove caio workaronud

aio / caio does not seem used anywhere in k-space domain

multiple apps deployed with changes, no effects noted
This commit is contained in:
2026-06-11 21:45:14 +03:00
parent d1cef3b6ec
commit d208249e77

View File

@@ -16,13 +16,6 @@ RUN apk add --no-cache gcc make musl-dev linux-headers git \
sanic-wtf \ sanic-wtf \
ecs-logging ecs-logging
# Work around buggy setup.py in caio
RUN git clone https://github.com/mosquito/caio/ \
&& cd caio \
&& python3 setup.py bdist_wheel \
&& rm /wheels/*caio*.whl \
&& cp dist/*.whl /wheels/
# Generate image without build dependencies # Generate image without build dependencies
FROM python:alpine FROM python:alpine
COPY --from=build /wheels /wheels COPY --from=build /wheels /wheels
@@ -31,4 +24,3 @@ LABEL name="k-space/microservice-base" \
version="rc" \ version="rc" \
maintainer="Lauri Võsandi <lauri@k-space.ee>" maintainer="Lauri Võsandi <lauri@k-space.ee>"
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV CAIO_IMPL=linux