feat: Python on whales & embedded docker CLI
This commit is contained in:
parent
7a03b1538d
commit
69e3d34dd4
2 changed files with 3 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ ADD . /app
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
uv sync --locked
|
uv sync --locked
|
||||||
|
|
||||||
FROM python:3.12-alpine3.22
|
FROM docker:29.1.3-cli
|
||||||
|
|
||||||
ENV USER=karl
|
ENV USER=karl
|
||||||
ENV GROUPNAME=docker
|
ENV GROUPNAME=docker
|
||||||
|
|
@ -39,7 +39,7 @@ RUN addgroup \
|
||||||
$USER
|
$USER
|
||||||
|
|
||||||
RUN apk update --no-cache \
|
RUN apk update --no-cache \
|
||||||
&& apk add --no-cache git
|
&& apk add --no-cache git python3
|
||||||
|
|
||||||
COPY --from=builder --chown=app:app /app/.venv /app/.venv
|
COPY --from=builder --chown=app:app /app/.venv /app/.venv
|
||||||
COPY --from=builder --chown=app:app /app/src /app/src
|
COPY --from=builder --chown=app:app /app/src /app/src
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ dependencies = [
|
||||||
"keyring>=25.6.0",
|
"keyring>=25.6.0",
|
||||||
"keyring-backend>=0.1.0",
|
"keyring-backend>=0.1.0",
|
||||||
"bubus>=1.5.6",
|
"bubus>=1.5.6",
|
||||||
|
"python-on-whales>=0.79.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue