First Commit. Updating to version 0.0.1

This commit is contained in:
Alejandro Lembke Barrientos 2024-07-24 05:09:22 +00:00
commit 74ab45bfc8
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
4 changed files with 46 additions and 0 deletions

35
Dockerfile Normal file
View File

@ -0,0 +1,35 @@
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 \
qt5-qtxmlpatterns-dev \
poppler-dev \
cairo-dev \
cups-dev \
python3-dev \
git \
wget
# Descargar e instalar Scribus 1.6.2 desde el código fuente
# Este es un ejemplo hipotético; necesitarás ajustar los comandos según la ubicación actual del código fuente y las instrucciones de compilación
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 /
# ports and volumes
EXPOSE 3000
VOLUME /config

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Scribus Docker Image
### version 0.0.1

1
root/defaults/autostart Normal file
View File

@ -0,0 +1 @@
scribus

7
root/defaults/menu.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<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>
</menu>
</openbox_menu>