From 7a84ada939ef2608899f74305db612061214ba2b Mon Sep 17 00:00:00 2001 From: RamiusLr Date: Wed, 21 May 2025 16:32:15 +0200 Subject: [PATCH] Use python slim image --- .github/workflows/docker.yml | 2 +- Dockerfile | 9 +++++++-- dockup | 16 +++++++--------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 98e85ed..aa484b0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,7 +2,7 @@ name: ci on: push: - branches: [ "master" ] + branches: [ "*" ] tags: [ "*" ] pull_request: diff --git a/Dockerfile b/Dockerfile index 5b5206d..86b5983 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,16 @@ # Init image -FROM python:3 +FROM python:slim WORKDIR /app # Install requirements COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -RUN wget -O /usr/bin/regctl https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64 +RUN python - <