From ae7e746ca015bf3096900aa0d0285eeb1dfb9004 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 3 Feb 2019 21:52:11 +0100 Subject: [PATCH] Initial commit. --- Dockerfile | 9 +++++++++ build | 1 + 2 files changed, 10 insertions(+) create mode 100644 Dockerfile create mode 100644 build diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0239064 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM debian:jessie +MAINTAINER yohan <783b8c87@scimetis.net> +ENV DEBIAN_FRONTEND noninteractive +ENV TZ Europe/Paris +RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list +RUN apt-get update && apt-get -y install cron && apt-get -y install docker.io -t jessie-backports +RUN rm -f /etc/crontab +ENTRYPOINT ["/usr/sbin/cron", "-f", "-L", "8"] +#ENTRYPOINT ["/bin/bash"] diff --git a/build b/build new file mode 100644 index 0000000..17fcd18 --- /dev/null +++ b/build @@ -0,0 +1 @@ +docker build -t cron .