mirror of
https://github.com/R0GGER/docker-wsusoffline.git
synced 2026-11-11 09:12:41 +01:00
26 lines
613 B
Docker
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"]
|