avoid using more lines in Dockerfile commands than necessary