Trying to fix issue in build. Updating to version 0.0.5

This commit is contained in:
Alejandro Lembke Barrientos 2024-07-24 05:52:44 +00:00
parent e890ee8477
commit 34fe5e0db2
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 15 additions and 7 deletions

View File

@ -22,16 +22,24 @@ RUN apk add --no-cache \
gperf \ gperf \
ruby \ ruby \
perl \ perl \
# Instalar Python 2 libffi-dev \
python2 \ openssl-dev \
# Crear un enlace simbólico para asegurar que Python 2 sea accesible como 'python' zlib-dev \
&& ln -s /usr/bin/python2 /usr/bin/python xz \
tar
# Descargar, compilar e instalar Python 2 desde el código fuente
RUN wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz && \
tar -xf Python-2.7.18.tar.xz && \
cd Python-2.7.18 && \
./configure --enable-optimizations && \
make altinstall && \
ln -s /usr/local/bin/python2.7 /usr/bin/python
# Compilar qtwebkit desde el código fuente # Compilar qtwebkit desde el código fuente
RUN git clone https://github.com/qt/qtwebkit.git \ RUN git clone https://github.com/qt/qtwebkit.git \
&& cd qtwebkit \ && cd qtwebkit \
# Especificar explícitamente el uso de Python 2 para la configuración && cmake . -DPORT=Qt -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
&& cmake . -DPORT=Qt -DPYTHON_EXECUTABLE=/usr/bin/python2 \
&& make \ && make \
&& make install && make install

View File

@ -1,3 +1,3 @@
# Scribus Docker Image # Scribus Docker Image
### version 0.0.4 ### version 0.0.5