Seems like I can fix the image recompilation problem by not generating digests. Not a great solution.