11 lines
404 B
Docker
11 lines
404 B
Docker
# Test-only runner: Python + Docker CLI + curl for failure probes that control
|
|
# the Swarm stack while talking to its internal network.
|
|
FROM docker:27-cli AS cli
|
|
FROM python:3.11.9-slim-bookworm
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY --from=cli /usr/local/bin/docker /usr/local/bin/docker
|
|
WORKDIR /repo
|
|
ENTRYPOINT ["python"]
|