Container Image for Kaffelogic Studio
I was basically having troubles getting Kaffelogic Studio to run on newer distributions of Linux so I went ahead and put it inside a container to workaround the issues I found.
Clone this repo, cd into the directory, and then run:
$ docker build -f Dockerfile . -t kaffelogic-studio:latest
It is possible to optionally pass a KAFFELOGIC_STUDIO argument to the build with the full name of the deb package:
$ docker build --build-arg KAFFELOGIC_STUDIO=kaffelogic-studio_5.0.14_amd64.deb -f Dockerfile . -t kaffelogic-studio:latest
You can manually run the container as root. I've added a kaffelogic-studio
script that runs the container as an unprivileged user, which avoids permission
issues on the files after syncs.
- Copy the kaffelogic-studio script somewhere in your $PATH
- Copy the udev rules file in /etc/udev/rules.d/
- sudo udevadm control --reload-rules && sudo udevadm trigger
- Launch kaffelogic-studio
The above assumes your user's id is 1000 (currently hard-coded in the container image)