mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-06-28 04:53:52 +08:00
15 lines
306 B
Docker
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"]
|