mirror of
https://github.com/aleleba/viva-designer-docker-configuration.git
synced 2025-04-19 18:48:11 -06:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
460fa02ac8 | |||
642df68e5a | |||
4ca6d1303d | |||
ddd18582ae | |||
5d6c963ce2 | |||
3da3f0b5e5 |
53
Dockerfile
53
Dockerfile
@ -1,24 +1,47 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
|
||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntunoble
|
||||
|
||||
# Instalar dependencias necesarias
|
||||
RUN apk update && apk add --no-cache \
|
||||
libstdc++ \
|
||||
libx11 \
|
||||
glib \
|
||||
libxrender \
|
||||
libxext \
|
||||
libintl \
|
||||
openjdk11-jre \
|
||||
# Instalar dependencias necesarias, incluyendo las de Qt y xcb
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libstdc++6 \
|
||||
libx11-6 \
|
||||
libglib2.0-0 \
|
||||
libxrender1 \
|
||||
libxext6 \
|
||||
libintl-perl \
|
||||
openjdk-11-jre \
|
||||
wget \
|
||||
tar
|
||||
unzip \
|
||||
libxcb-xinerama0 \
|
||||
libusb-0.1-4 \
|
||||
# Dependencias de Qt y xcb
|
||||
libqt5widgets5 \
|
||||
libqt5gui5 \
|
||||
libqt5core5a \
|
||||
libqt5dbus5 \
|
||||
libxcb-icccm4 \
|
||||
libxcb-image0 \
|
||||
libxcb-keysyms1 \
|
||||
libxcb-randr0 \
|
||||
libxcb-render-util0 \
|
||||
libxcb-render0 \
|
||||
libxcb-shape0 \
|
||||
libxcb-sync1 \
|
||||
libxcb-xfixes0 \
|
||||
libxcb-xinerama0 \
|
||||
libxcb-xkb1 \
|
||||
libxkbcommon-x11-0 \
|
||||
libxkbcommon0 \
|
||||
qt5-gtk-platformtheme \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Descargar e instalar Viva Designer
|
||||
RUN wget https://viva.systems/es/servicio/descargas/?wpdmdl=8074 -O /tmp/viva-designer.tar.gz \
|
||||
&& tar -xzvf /tmp/viva-designer.tar.gz -C /opt/ \
|
||||
&& rm /tmp/viva-designer.tar.gz
|
||||
RUN wget "https://viva.systems/download/vivadesigner11-64-bit-free-debian-deb/?wpdmdl=8041&refresh=668cfa667d4841720515174&ind=0&filename=viva-designer-free-11.0.0-9016_debian_9_x86_64_BETA.deb.zip" -O /tmp/viva-designer.zip \
|
||||
&& unzip /tmp/viva-designer.zip -d /tmp \
|
||||
&& find /tmp -name "*.deb" -exec dpkg -i {} \; \
|
||||
&& rm -rf /tmp/*
|
||||
|
||||
# add local files
|
||||
# COPY /root /
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
|
1
root/defaults/autostart
Normal file
1
root/defaults/autostart
Normal file
@ -0,0 +1 @@
|
||||
/usr/lib/viva/VivaDesigner
|
7
root/defaults/menu.xml
Normal file
7
root/defaults/menu.xml
Normal 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="VivaDesigner" icon="/usr/share/icons/hicolor/48x48/apps/VivaDesigner-Logo.png"><action name="Execute"><command>/usr/lib/viva/VivaDesigner</command></action></item>
|
||||
</menu>
|
||||
</openbox_menu>
|
Loading…
Reference in New Issue
Block a user