Small doc about all log and add more todo
This commit is contained in:
@@ -40,3 +40,10 @@ docker run --rm --entrypoint /bin/bash stilobique/blender:5.1.2 -c 'ldd /opt/ble
|
|||||||
# Test fonctionnel
|
# Test fonctionnel
|
||||||
docker run --rm stilobique/blender:5.1.2 ./blender -b --python-expr "import bpy; print('OK:', bpy.app.version_string)"
|
docker run --rm stilobique/blender:5.1.2 ./blender -b --python-expr "import bpy; print('OK:', bpy.app.version_string)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
# 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.
|
||||||
@@ -5,12 +5,6 @@ import json
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from subprocess import run, CalledProcessError
|
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():
|
def clean_all_dockers():
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ from blender.version import BlenderVersion
|
|||||||
from blender.docker import BlenderDocker
|
from blender.docker import BlenderDocker
|
||||||
|
|
||||||
# Todo Update readme file badge with blender version
|
# Todo Update readme file badge with blender version
|
||||||
|
# Todo
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
@@ -19,7 +20,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
if test:
|
if test:
|
||||||
print('Push this image.')
|
print('Push this image.')
|
||||||
docker.push()
|
# docker.push()
|
||||||
|
|
||||||
# Todo: Add a latest tag, check if this version are the latest
|
# Todo: Add a latest tag, check if this version are the latest
|
||||||
# Todo: Add a LTS tag, check if this version are a LTS
|
# Todo: Add a LTS tag, check if this version are a LTS
|
||||||
Reference in New Issue
Block a user