akkoma/postgresql/Dockerfile
Your Name 8eed63f335 fix
2022-11-27 15:21:58 -07:00

22 lines
332 B
Docker

FROM alpine
RUN apk update;apk add bash sudo postgresql postgresql-contrib dos2unix
WORKDIR /tmp
ENV SHELL="/bin/bash"
ADD start.sh /
ADD setup.sh /
ADD backup.sh /
ADD crontab /
RUN crontab /crontab
ADD postgres.sh /
#POSTGRES Tweaks
COPY postgresql.conf /etc/
COPY pg_hba.conf /etc/
COPY notes.txt /root/
CMD bash /start.sh