make sure the intermediate index.html files are generated consistently

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)

(cherry picked from commit 5a8ffe7ef1c33996b9032fec2cf7cb2bf64793f0)