22 lines
337 B
Docker
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
|