File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 8181 with :
8282 context : .
8383 push : true
84- target : developer
84+ target : build
8585 tags : ${{ steps.meta-debug.outputs.tags }}
8686 labels : ${{ steps.meta-debug.outputs.labels }}
Original file line number Diff line number Diff line change @@ -20,20 +20,22 @@ ENV PATH=/venv/bin:$PATH
2020
2121# The build stage installs the context into the venv
2222FROM developer AS build
23+
2324# Requires buildkit 0.17.0
2425COPY --chmod=o+wrX . /workspaces/fastcs-example
2526WORKDIR /workspaces/fastcs-example
2627RUN touch dev-requirements.txt && pip install -c dev-requirements.txt .[demo]
2728
28-
2929# The runtime stage copies the built venv into a slim runtime container
3030FROM python:${PYTHON_VERSION}-slim AS runtime
3131
32- # Add apt-get system dependecies for runtime
32+ # Add apt-get system dependencies for runtime (enough to enable debugging)
3333RUN apt-get update && apt-get install -y --no-install-recommends \
3434 gdb \
35+ busybox \
3536 && rm -rf /var/lib/apt/lists/*
3637
38+ RUN busybox --install -s
3739
3840COPY --from=build /venv/ /venv/
3941ENV PATH=/venv/bin:$PATH
You can’t perform that action at this time.
0 commit comments