Files
docker-postgresql/Dockerfile
T
Sameer Naik 518fbb76f1 clean up
2014-06-28 23:42:25 +05:30

15 lines
306 B
Docker

FROM sameersbn/ubuntu:12.04.20140628
MAINTAINER sameer@damagehead.com
RUN apt-get update && \
apt-get install -y postgresql postgresql-client && \
rm -rf /var/lib/postgresql && \
apt-get clean # 20140525
ADD init /init
RUN chmod 755 /init
EXPOSE 5432
VOLUME ["/var/lib/postgresql"]
CMD ["/init"]