akkoma/postgresql/Dockerfile

22 lines
337 B
Docker
Raw Normal View History

2022-11-27 15:23:22 -07:00
FROM alpine:3.16
2022-11-27 15:12:31 -07:00
RUN apk update;apk add bash sudo postgresql postgresql-contrib dos2unix
WORKDIR /tmp
ENV SHELL="/bin/bash"
ADD start.sh /
ADD setup.sh /
2022-11-27 15:21:58 -07:00
ADD backup.sh /
2022-11-27 15:12:31 -07:00
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