mirror of
https://github.com/R0GGER/docker-wsusoffline.git
synced 2026-11-11 09:12:41 +01:00
25 lines
615 B
Docker
25 lines
615 B
Docker
FROM phusion/baseimage:latest
|
|
MAINTAINER r0gger
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y git wget cabextract hashdeep xmlstarlet trash-cli unzip
|
|
RUN apt-get clean -y
|
|
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
ENV SYSTEMS="w100-x64"
|
|
ENV OFFICE="o2k16-x64"
|
|
ENV LANGUAGE="nld"
|
|
ENV PARAMS="-includesp -includecpp -includecpp -includewddefs8"
|
|
ENV SLEEP=48h
|
|
|
|
# WSUSOFFLINE
|
|
ADD update.sh /wsus/
|
|
ADD run.sh /wsus/
|
|
RUN ln -s /wsus/run.sh /etc/my_init.d/run.sh
|
|
RUN chmod +x /wsus/*.sh
|
|
RUN ln -s /wsus/wsusoffline/client /client
|
|
RUN ln -s /wsus/wsusoffline/iso /iso
|
|
|
|
VOLUME ["/client", "/iso"]
|
|
CMD ["/sbin/my_init"]
|