mirror of
https://github.com/aleleba/scribus-docker-configuration.git
synced 2025-04-19 18:47:54 -06:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
3edf25a614 | |||
8dd9f5e946 | |||
33db50cd41 | |||
c43fc4ae67 | |||
b16418b4ab | |||
34fe5e0db2 | |||
e890ee8477 | |||
2a986366a6 |
45
Dockerfile
45
Dockerfile
@ -1,46 +1,13 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
|
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
|
||||||
|
|
||||||
# Instalar dependencias básicas y herramientas de compilación
|
# Habilitar el repositorio "community" y actualizar los índices de los paquetes
|
||||||
RUN apk add --no-cache \
|
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||||
g++ \
|
apk update
|
||||||
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
|
|
||||||
|
|
||||||
# Compilar qtwebkit desde el código fuente
|
# Instalar Scribus desde el repositorio "community"
|
||||||
RUN git clone https://github.com/qt/qtwebkit.git \
|
RUN apk add scribus@community
|
||||||
&& cd qtwebkit \
|
|
||||||
&& cmake . \
|
|
||||||
&& make \
|
|
||||||
&& make install
|
|
||||||
|
|
||||||
# Descargar e instalar Scribus 1.6.2 desde el código fuente
|
# Añadir archivos locales y configurar puertos y volúmenes
|
||||||
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
|
|
||||||
|
|
||||||
# add local files
|
|
||||||
COPY /root /
|
COPY /root /
|
||||||
|
|
||||||
# ports and volumes
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
VOLUME /config
|
VOLUME /config
|
@ -1,3 +1,3 @@
|
|||||||
# Scribus Docker Image
|
# Scribus Docker Image
|
||||||
|
|
||||||
### version 0.0.2
|
### version 1.2.0
|
@ -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/icons/hicolor/48x48/apps/Scribus-Logo.png"><action name="Execute"><command>/usr/local/bin/scribus</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>
|
||||||
</menu>
|
</menu>
|
||||||
</openbox_menu>
|
</openbox_menu>
|
Loading…
Reference in New Issue
Block a user