blob: eee771248ef1fae4153c41db0ea79ac4d6408bff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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" ]
|