Replies: 2 comments 16 replies
-
@wolflu05 I would leave that to the user. I have a mixin that runs user-level installs but that is not production ready. |
Beta Was this translation helpful? Give feedback.
-
There are a few options I can imagine: Custom EntrypointAs @matmair says above you could have a custom entrypoint command which installs Custom ImageYou could have an image which inherits from the External ContainerYou could have another docker container which has cups support and write some code to send label data to that. Not ideal, you'd have to write two pieces of code and it would be a tricky thing to get right. Install cups in the InvenTree imageHaving cups support might be a good thing in general for InvenTree for label printing? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want to develop a CUPS label printing plugin for my printer. I already found a python library
pycups
[GitHub] which works well for printing in my first tests.The only issue I have is, that the following apt packages need to be installed inorder that the wheel building of the
pycups
packae can succeed.gcc
,libcups2-dev
,python3-dev
For a bare metal install I can document running
sudo apt install gcc libcups2-dev python3-dev
, but for docker this won't work or would require an execution after each recreate. Does anybody has a good idea how to solve this issue without maintaining an own inventree image which has these dependencies?Beta Was this translation helpful? Give feedback.
All reactions