I have the following docker file, and I am using the command docker build -t demo:v1 . to build the image.
docker build -t demo:v1 .
FROM ubuntu:18.04 WORKDIR /app RUN ap
add this to your Dockerfile
ARG DEBIAN_FRONTEND=noninteractive
before installing postgresql
postgresql
and I think you may want to use apt-get instead of apt to avoid this warning:
apt-get
apt
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.