mirror of
https://github.com/R0GGER/docker-wsusoffline.git
synced 2026-11-11 09:12:41 +01:00
25 lines
517 B
Docker
25 lines
517 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
|
|
|
|
ENV SYSTEM=all-x64
|
|
ENV OFFICE=ofc
|
|
ENV LANGUAGE=nld
|
|
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
|
|
|
|
VOLUME ["/client"]
|
|
CMD ["/sbin/my_init"]
|