From 61f00647f474dfec06056a826aeea50da3127215 Mon Sep 17 00:00:00 2001 From: stilobique Date: Tue, 21 Jul 2026 23:08:44 +0200 Subject: [PATCH] Small doc about all log and add more todo --- README.md | 9 ++++++++- blender/misc.py | 6 ------ main.py | 7 ++++--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9ccb774..c090df2 100644 --- a/README.md +++ b/README.md @@ -39,4 +39,11 @@ docker run --rm --entrypoint /bin/bash stilobique/blender:5.1.2 -c 'ldd /opt/ble # Test fonctionnel docker run --rm stilobique/blender:5.1.2 ./blender -b --python-expr "import bpy; print('OK:', bpy.app.version_string)" -``` \ No newline at end of file +``` + + +# Logs +Some log are generated inside a `logs` folder. +- `build`: all operation on build docker file. +- `clean`: from the dedicated function to clean all dockers images and cache. +- `test`: simple class method to try a specific docker image. \ No newline at end of file diff --git a/blender/misc.py b/blender/misc.py index df2e6e2..90e8397 100644 --- a/blender/misc.py +++ b/blender/misc.py @@ -5,12 +5,6 @@ import json from pathlib import Path from subprocess import run, CalledProcessError -# def clean_all_dockers(): -# # bash docker context use default && docker system prune -a -f -# # bash docker context use podman && docker system prune -a -f -# # bash docker context use desktop-linux && docker system prune -a -f -# docker_client = docker.DockerClient(base_url=f'unix:///var/run/docker.sock') - def clean_all_dockers(): """ diff --git a/main.py b/main.py index 90a0d45..ae0047e 100644 --- a/main.py +++ b/main.py @@ -4,6 +4,7 @@ from blender.version import BlenderVersion from blender.docker import BlenderDocker # Todo Update readme file badge with blender version +# Todo if __name__ == "__main__": @@ -19,7 +20,7 @@ if __name__ == "__main__": if test: print('Push this image.') - docker.push() + # docker.push() - # Todo: Add a latest tag, check if this version are the latest - # Todo: Add a LTS tag, check if this version are a LTS \ No newline at end of file + # Todo: Add a latest tag, check if this version are the latest + # Todo: Add a LTS tag, check if this version are a LTS \ No newline at end of file