Skip to content

Fix initialization of Taskwarrior on Dockerfile - #4159

Open
lauft wants to merge 1 commit into
developfrom
fix-dockerfile-task-initialization
Open

Fix initialization of Taskwarrior on Dockerfile#4159
lauft wants to merge 1 commit into
developfrom
fix-dockerfile-task-initialization

Conversation

@lauft

@lauft lauft commented Jul 25, 2026

Copy link
Copy Markdown
Member

Add the 'default.theme' to the test Docker file and create empty '.taskrc'.
Those two files are the minimum requirements for Taskwarrior to run.

This fixes the e2e tests for the [task-timewarrior-hook] which require an image with running Taskwarrior and Timewarrior.
Without the two files, Taskwarrior exits with error message,

Could not find file in CWD, directory of config file or search paths 'default.theme'.

causing the e2e tests to fail.

Add the 'default.theme' to the test Docker file and create empty '.taskrc'.
Those two files are the minimum requirements for Taskwarrior to run
@lauft
lauft requested review from djmitche and felixschurk July 25, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant