Dockerfile 286 Bytes
Newer Older
1
FROM registry.picasoft.net/pica-debian
Stephane Crozat's avatar
Stephane Crozat committed
2
3
4
5
MAINTAINER stephane.crozat@utc.fr

RUN apt-get update && \
    apt-get install -y --no-install-recommends postgresql-client cron && \
Stephane Crozat's avatar
Stephane Crozat committed
6
    apt-get clean
Stephane Crozat's avatar
Stephane Crozat committed
7

Stephane Crozat's avatar
Stephane Crozat committed
8
ENV CRON_TIME="0 * * * *"
Stephane Crozat's avatar
Stephane Crozat committed
9
COPY cron.sh /cron.sh
Stephane Crozat's avatar
Stephane Crozat committed
10
COPY psqlcmd.sh /psqlcmd.sh
Stephane Crozat's avatar
Stephane Crozat committed
11

Stephane Crozat's avatar
Stephane Crozat committed
12
CMD ["/cron.sh"]