docker: update scripts to follow best practices

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>