Snippet from my Dockerfile
:
FROM node:12.18.0
RUN echo "hello world"
RUN psql --version
When I run docker build .
I don't see any output from these two commands even if they are not cached. The documentation says that docker build
is verbose by default. Why am I not seeing the output from commands? I used to see them before.
The output while building:
=> [7/18] RUN echo "hello world" 0.9s
The output I am seeing after building finishes:
=> CACHED [6/18] RUN apt-get install postgresql -y 0.0s
=> [7/18] RUN echo "hello world" 6.4s
=> [8/18] RUN psql --version 17.1s
The Dockerfile
is created from node:12.18.0 which is based on Debian 9.
Docker version 19.03.13, build 4484c46d9d.