FROM ubuntu:18.04 RUN ["apt-get", "update", "-y"] RUN ["apt-get", "install", "-y", "postgresql-client", "curl", "netcat"] ADD wait.sh /wait ENTRYPOINT ["/wait"]