make sure the intermediate index.html files are generated consistently

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