mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-06-28 14:29:59 +08:00
15 lines
334 B
Docker
15 lines
334 B
Docker
FROM sameersbn/ubuntu:12.04.20140812
|
|
MAINTAINER sameer@damagehead.com
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends postgresql postgresql-client && \
|
|
rm -rf /var/lib/postgresql && \
|
|
apt-get clean # 20140804
|
|
|
|
ADD start /start
|
|
RUN chmod 755 /start
|
|
|
|
EXPOSE 5432
|
|
VOLUME ["/var/lib/postgresql"]
|
|
CMD ["/start"]
|