mirror of
https://github.com/aleleba/scribus-docker-configuration.git
synced 2025-04-20 02:57:54 -06:00
Compare commits
No commits in common. "master" and "0.0.5" have entirely different histories.
54
Dockerfile
54
Dockerfile
@ -1,11 +1,55 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
|
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
|
||||||
|
|
||||||
# Habilitar el repositorio "community" y actualizar los índices de los paquetes
|
# Instalar dependencias básicas y herramientas de compilación
|
||||||
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
RUN apk add --no-cache \
|
||||||
apk update
|
g++ \
|
||||||
|
cmake \
|
||||||
|
make \
|
||||||
|
qt5-qtbase-dev \
|
||||||
|
qt5-qtscript-dev \
|
||||||
|
qt5-qtsvg-dev \
|
||||||
|
# qt5-qtwebkit-dev se compilará desde el código fuente, así que se omite aquí
|
||||||
|
qt5-qtxmlpatterns-dev \
|
||||||
|
poppler-dev \
|
||||||
|
cairo-dev \
|
||||||
|
cups-dev \
|
||||||
|
python3-dev \
|
||||||
|
git \
|
||||||
|
wget \
|
||||||
|
# Agregar dependencias adicionales necesarias para la compilación de qtwebkit
|
||||||
|
flex \
|
||||||
|
bison \
|
||||||
|
gperf \
|
||||||
|
ruby \
|
||||||
|
perl \
|
||||||
|
libffi-dev \
|
||||||
|
openssl-dev \
|
||||||
|
zlib-dev \
|
||||||
|
xz \
|
||||||
|
tar
|
||||||
|
|
||||||
# Instalar Scribus desde el repositorio "community"
|
# Descargar, compilar e instalar Python 2 desde el código fuente
|
||||||
RUN apk add scribus@community
|
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
|
||||||
|
RUN git clone https://github.com/qt/qtwebkit.git \
|
||||||
|
&& cd qtwebkit \
|
||||||
|
&& cmake . -DPORT=Qt -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
|
||||||
|
&& make \
|
||||||
|
&& make install
|
||||||
|
|
||||||
|
# Descargar e instalar Scribus 1.6.2 desde el código fuente
|
||||||
|
RUN wget https://sourceforge.net/projects/scribus/files/scribus/1.6.2/scribus-1.6.2.tar.xz \
|
||||||
|
&& tar -xf scribus-1.6.2.tar.xz \
|
||||||
|
&& cd scribus-1.6.2 \
|
||||||
|
&& cmake . \
|
||||||
|
&& make \
|
||||||
|
&& make install
|
||||||
|
|
||||||
# Añadir archivos locales y configurar puertos y volúmenes
|
# Añadir archivos locales y configurar puertos y volúmenes
|
||||||
COPY /root /
|
COPY /root /
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Scribus Docker Image
|
# Scribus Docker Image
|
||||||
|
|
||||||
### version 1.2.0
|
### version 0.0.5
|
@ -2,6 +2,6 @@
|
|||||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||||
<menu id="root-menu" label="MENU">
|
<menu id="root-menu" label="MENU">
|
||||||
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
|
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
|
||||||
<item label="Scribus" icon="/usr/share/scribus/icons/1_5_1/scribus_logo.png"><action name="Execute"><command>/usr/bin/scribus</command></action></item>
|
<item label="Scribus" icon="/usr/share/icons/hicolor/48x48/apps/Scribus-Logo.png"><action name="Execute"><command>/usr/local/bin/scribus</command></action></item>
|
||||||
</menu>
|
</menu>
|
||||||
</openbox_menu>
|
</openbox_menu>
|
Loading…
Reference in New Issue
Block a user