FROM ubuntu:16.04 RUN export DEBIAN_FRONTEND=noninteractive && \ sed -i 's/archive.ubuntu.com/us-west-2.ec2.archive.ubuntu.com/' /etc/apt/sources.list && \ apt-get update && \ apt-get install -y postgresql-client && \ # Cleanup apt-get clean && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /tmp/* ENTRYPOINT [ "/usr/bin/psql" ]