akkoma/postgresql/Dockerfile
Your Name 207a5116c3 fix
2022-11-27 15:23:22 -07:00

22 lines
337 B
Docker

FROM alpine:3.16
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