mirror of
https://github.com/aleleba/scribus-docker-configuration.git
synced 2025-04-20 02:57: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
|
||||
|
||||
# Instalar dependencias básicas y herramientas de compilación
|
||||
RUN apk add --no-cache \
|
||||
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
|
||||
# Habilitar el repositorio "community" y actualizar los índices de los paquetes
|
||||
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
apk update
|
||||
|
||||
# Compilar qtwebkit desde el código fuente
|
||||
RUN git clone https://github.com/qt/qtwebkit.git \
|
||||
&& cd qtwebkit \
|
||||
&& cmake . \
|
||||
&& make \
|
||||
&& make install
|
||||
# Instalar Scribus desde el repositorio "community"
|
||||
RUN apk add scribus@community
|
||||
|
||||
# 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
|
||||
|
||||
# add local files
|
||||
# Añadir archivos locales y configurar puertos y volúmenes
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
VOLUME /config
|
@ -2,6 +2,6 @@
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/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="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>
|
||||
</openbox_menu>
|
Loading…
Reference in New Issue
Block a user