chore(script): improve docker images build script