-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 976 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:12.4
ARG NSIS_VERSION=3.08-3
ARG FirewallPlugin=https://nsis.sourceforge.io/mediawiki/images/e/e0/NSIS_Simple_Firewall_Plugin_Unicode_1.21.zip
ARG ServicePlugin=https://nsis.sourceforge.io/mediawiki/images/e/ef/NSIS_Simple_Service_Plugin_Unicode_1.30.zip
RUN apt-get -t unstable update && \
apt-get -t unstable install -y curl unzip nsis=${NSIS_VERSION} && \
apt-get clean
RUN curl ${FirewallPlugin} -o /tmp/firewall_plugin.zip && \
unzip /tmp/firewall_plugin.zip SimpleFC.dll -d /usr/share/nsis/Plugins/x86-ansi && \
unzip /tmp/firewall_plugin.zip SimpleFC.dll -d /usr/share/nsis/Plugins/x86-unicode && \
curl ${ServicePlugin} -o /tmp/service_plugin.zip && \
unzip /tmp/service_plugin.zip SimpleSC.dll -d /usr/share/nsis/Plugins/x86-ansi && \
unzip /tmp/service_plugin.zip SimpleSC.dll -d /usr/share/nsis/Plugins/x86-unicode && \
rm /tmp/firewall_plugin.zip && \
rm /tmp/service_plugin.zip
ENTRYPOINT ["makensis", "-V4"]