Files
docker-wsusoffline/Dockerfile
T
2016-04-05 13:05:36 +02:00

26 lines
613 B
Docker

FROM phusion/baseimage:0.9.18
MAINTAINER R0GGER
RUN apt-get update
RUN apt-get install -y unzip md5deep wget xmlstarlet cabextract genisoimage nano
ENV SYSTEMS="w62 w62-x64 w63 w63-x64 w100 w100-x64"
ENV OFFICE="o2k10 o2k13 o2k16"
ENV LANGUAGE="nld enu"
ENV PARAMS="/dotnet /msse /wddefs /wle"
ADD crons.conf /app/crons.conf
ADD run.sh /app/run.sh
ADD update.sh /etc/my_init.d/update.sh
RUN crontab /app/crons.conf
RUN cron
RUN chmod +x /app/run.sh
RUN chmod +x /etc/my_init.d/update.sh
RUN ln -s /app/wsusoffline/client /client
RUN ln -s /app/wsusoffline/iso /iso
VOLUME ["/client"]
CMD ["/sbin/my_init"]