Toraja / cde

Containerised Development Environment
0 stars 0 forks source link

Install taskwarrior stuff in container #35

Closed Toraja closed 5 months ago

Toraja commented 8 months ago

Taskopen requires nim to build and I don't want to add it to container image.
Use tasknote shell instead.

ln -s ~/toybox/taskwarrior/tasknote ~/.local/bin
ln -s ~/hosthome/.local/share/taskopen/notes ~/.local/share/taskopen/
ln -s ~/hosthome/.local/share/taskwarrior/task ~/.local/share/taskwarrior/
Toraja commented 7 months ago

TODO:

Toraja commented 6 months ago

Taskwarrior now requires rust (rustc) to compile.
Adding rust to root image is not a choice for now (too big).
So running playbook needs to be done with docker and the trouble is you need to change the install location depending whether inside or outside the container.
This also requires the image for building taskwarrior be built in prior to building root image.

An option is to include the taskwarrior-builder image into bake file and build in one go.
Use multistage build in root image to get the taskwarrior binary.

Toraja commented 5 months ago

Done in 4ea119e7ca299f0e1e7c378b4f64553a7466c9b6. Did not create separate image for taskwarrior but rather embedded into root image.