diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 29d494e..5906995 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -5,7 +5,7 @@ jobs: build: runs-on: container container: - image: tiptop:5000/treetrail-backend-ci + image: tiptop:5000/python-ci volumes: - "/root/.cache/uv:uv_cache" services: diff --git a/Containerfile.ci b/Containerfile.ci index 7b5c339..78b9baa 100644 --- a/Containerfile.ci +++ b/Containerfile.ci @@ -1,7 +1,8 @@ -FROM debian:trixie-slim +# Build: podman build -t localhost/python-ci -f Containerfile.ci +FROM localhost/trixie_python + +RUN apt-get -y --no-install-recommends install nodejs git python3-pytest && \ + apt-get clean && \ + rm -rf /var/lib/apt/listsd/* && \ + rm -rf /root/.cache -RUN apt-get update && \ - apt-get install --no-install-recommends -y python-is-python3 python3-pip python3-venv nodejs git podman buildah pipx && \ - apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/.cache && \ - rm -rf /root/.cache && \ - pip install --break-system-packages uv diff --git a/Containerfile.trixie_python b/Containerfile.trixie_python index 5411581..53d6c3c 100644 --- a/Containerfile.trixie_python +++ b/Containerfile.trixie_python @@ -1,3 +1,5 @@ +# Build: podman build -t trixie_python -f Containerfile.trixie_python + FROM debian:trixie-slim RUN <