diff --git a/Dockerfile b/Dockerfile index e8f784f..7015811 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM phusion/baseimage:0.9.18 +FROM debian:stable-backports MAINTAINER R0GGER RUN apt-get update -RUN apt-get install -y unzip md5deep wget xmlstarlet cabextract genisoimage tzdata python python-pip mercurial +RUN apt-get install -y unzip hashdeep wget xmlstarlet cabextract genisoimage tzdata python python-pip mercurial ENV SYSTEMS="all-61 all-63 all-100" ENV OFFICE="o2k10 o2k13 o2k16" @@ -12,10 +12,11 @@ ENV CRON="* 12,0 * * *" ENV TIMEZONE="Europe/Amsterdam" # WSUSOFFLINE -ADD update.sh /etc/my_init.d/update.sh -RUN chmod +x /etc/my_init.d/update.sh +ADD update.sh /app/update.sh +RUN chmod +x /app/update.sh RUN ln -s /app/wsusoffline/client /client RUN ln -s /app/wsusoffline/iso /iso +RUN ln -s /usr/bin/hashdeep /usr/bin/md5deep # CRON RUN pip install -e hg+https://bitbucket.org/dbenamy/devcron#egg=devcron @@ -24,4 +25,4 @@ ADD run.sh /cron/run.sh RUN chmod a+x /cron/run.sh VOLUME ["/client", "/iso"] -CMD ["/sbin/my_init", "devcron.py", "/cron/crontab"] +CMD ["/app/update.sh", "devcron.py", "/cron/crontab"]