sigyllly commited on
Commit
b3f7c7a
·
verified ·
1 Parent(s): 6837db3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -5
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM python:3.10-slim
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
- # Install necessary dependencies including wget, makensis, and Python tools
8
  RUN apt-get update && apt-get install -y \
9
  wget \
10
  gnupg2 \
@@ -13,13 +13,20 @@ RUN apt-get update && apt-get install -y \
13
  python3-pip \
14
  python3-setuptools \
15
  python3-venv \
 
 
 
 
 
16
  && apt-get clean \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
- # Install makensis directly from a .deb package
20
- RUN wget https://github.com/NSIS/NSIS/releases/download/v3.06.1/nsis-3.06.1-setup.exe -O /files/nsis-setup.exe \
21
- && wine /files/nsis-setup.exe /S \
22
- && rm /files/nsis-setup.exe
 
 
23
 
24
  # Verify makensis installation
25
  RUN makensis -version
 
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
+ # Install necessary dependencies including wget, build tools, and Python tools
8
  RUN apt-get update && apt-get install -y \
9
  wget \
10
  gnupg2 \
 
13
  python3-pip \
14
  python3-setuptools \
15
  python3-venv \
16
+ build-essential \
17
+ git \
18
+ cmake \
19
+ libtool \
20
+ autoconf \
21
  && apt-get clean \
22
  && rm -rf /var/lib/apt/lists/*
23
 
24
+ # Install makensis by building from source
25
+ RUN git clone --branch master https://github.com/NSIS/NSIS.git /opt/nsis \
26
+ && cd /opt/nsis \
27
+ && ./configure \
28
+ && make \
29
+ && make install
30
 
31
  # Verify makensis installation
32
  RUN makensis -version