mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-06-28 17:49:40 +08:00
17 lines
319 B
Docker
17 lines
319 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 assets/ /app/
|
|
RUN chmod 755 /app/init
|
|
|
|
EXPOSE 5432
|
|
|
|
VOLUME ["/var/lib/postgresql"]
|
|
|
|
CMD ["/app/init"]
|