solution
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user