$ echo "in build" in build $ echo "in script" in script $ echo "create image" create image $ sudo docker build -t nodejs-image:1.0 . sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper