21 lines
316 B
Docker
21 lines
316 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 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
|