mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-06-20 17:47:55 +02:00
install pinta from source for jammy, migrate postman,qbittorrent,remmina
This commit is contained in:
parent
035013b207
commit
c40d134ed0
@ -126,14 +126,14 @@ multiImages:
|
|||||||
- src/ubuntu/install/slack/**
|
- src/ubuntu/install/slack/**
|
||||||
- name: pinta
|
- name: pinta
|
||||||
singleapp: true
|
singleapp: true
|
||||||
base: core-ubuntu-focal
|
base: core-ubuntu-jammy
|
||||||
dockerfile: dockerfile-kasm-pinta
|
dockerfile: dockerfile-kasm-pinta
|
||||||
changeFiles:
|
changeFiles:
|
||||||
- dockerfile-kasm-pinta
|
- dockerfile-kasm-pinta
|
||||||
- src/ubuntu/install/pinta/**
|
- src/ubuntu/install/pinta/**
|
||||||
- name: qbittorrent
|
- name: qbittorrent
|
||||||
singleapp: true
|
singleapp: true
|
||||||
base: core-ubuntu-focal
|
base: core-ubuntu-jammy
|
||||||
dockerfile: dockerfile-kasm-qbittorrent
|
dockerfile: dockerfile-kasm-qbittorrent
|
||||||
changeFiles:
|
changeFiles:
|
||||||
- dockerfile-kasm-qbittorrent
|
- dockerfile-kasm-qbittorrent
|
||||||
@ -155,7 +155,7 @@ multiImages:
|
|||||||
- src/ubuntu/install/cleanup/**
|
- src/ubuntu/install/cleanup/**
|
||||||
- name: remmina
|
- name: remmina
|
||||||
singleapp: true
|
singleapp: true
|
||||||
base: core-ubuntu-focal
|
base: core-ubuntu-jammy
|
||||||
dockerfile: dockerfile-kasm-remmina
|
dockerfile: dockerfile-kasm-remmina
|
||||||
changeFiles:
|
changeFiles:
|
||||||
- dockerfile-kasm-remmina
|
- dockerfile-kasm-remmina
|
||||||
@ -792,7 +792,7 @@ singleImages:
|
|||||||
- src/ubuntu/install/cleanup/**
|
- src/ubuntu/install/cleanup/**
|
||||||
- name: postman
|
- name: postman
|
||||||
singleapp: true
|
singleapp: true
|
||||||
base: core-ubuntu-focal
|
base: core-ubuntu-jammy
|
||||||
dockerfile: dockerfile-kasm-postman
|
dockerfile: dockerfile-kasm-postman
|
||||||
changeFiles:
|
changeFiles:
|
||||||
- dockerfile-kasm-postman
|
- dockerfile-kasm-postman
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG BASE_IMAGE="core-ubuntu-focal"
|
ARG BASE_IMAGE="core-ubuntu-jammy"
|
||||||
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG BASE_IMAGE="core-ubuntu-focal"
|
ARG BASE_IMAGE="core-ubuntu-jammy"
|
||||||
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG BASE_IMAGE="core-ubuntu-focal"
|
ARG BASE_IMAGE="core-ubuntu-jammy"
|
||||||
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG BASE_IMAGE="core-ubuntu-focal"
|
ARG BASE_IMAGE="core-ubuntu-jammy"
|
||||||
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -2,12 +2,45 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# Install Pinta
|
# Install Pinta
|
||||||
apt-get update
|
# For Jammy, build pinta from source because standard package is buggy
|
||||||
apt-get install -y pinta
|
if grep -q Jammy /etc/os-release; then
|
||||||
|
# install requirements for building pinta from source
|
||||||
|
apt update -y
|
||||||
|
apt-get install -y dotnet-sdk-8.0
|
||||||
|
apt-get install -y libgtk-3-dev
|
||||||
|
apt install -y autotools-dev autoconf-archive gettext intltool libadwaita-1-dev
|
||||||
|
# download and install pinta 2.1.2 source
|
||||||
|
wget -q https://github.com/PintaProject/Pinta/releases/download/2.1.2/pinta-2.1.2.tar.gz -O /tmp/pinta-2.1.2.tar.gz
|
||||||
|
tar -xvzf /tmp/pinta-2.1.2.tar.gz -C /tmp/
|
||||||
|
cd /tmp/pinta-2.1.2
|
||||||
|
./configure --prefix=/usr/local
|
||||||
|
make install
|
||||||
|
|
||||||
# Default settings and desktop icon
|
# cleanup
|
||||||
cp /usr/share/applications/pinta.desktop $HOME/Desktop/
|
rm -rf /tmp/pinta-2.1.2.tar.gz /tmp/pinta-2.1.2
|
||||||
chmod +x $HOME/Desktop/pinta.desktop
|
|
||||||
|
# create desktop file
|
||||||
|
cat >/usr/share/applications/pinta.desktop <<EOL
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Pinta
|
||||||
|
Comment=Simple Drawing/Editing Program
|
||||||
|
Exec=/usr/local/bin/pinta
|
||||||
|
Icon=/usr/local/share/icons/hicolor/96x96/apps/pinta.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Graphics;2DGraphics;RasterGraphics;
|
||||||
|
EOL
|
||||||
|
chmod +x /usr/share/applications/pinta.desktop
|
||||||
|
cp /usr/share/applications/pinta.desktop $HOME/Desktop/
|
||||||
|
|
||||||
|
else
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y pinta
|
||||||
|
|
||||||
|
# Default settings and desktop icon
|
||||||
|
cp /usr/share/applications/pinta.desktop $HOME/Desktop/
|
||||||
|
chmod +x $HOME/Desktop/pinta.desktop
|
||||||
|
fi
|
||||||
|
|
||||||
# Cleanup for app layer
|
# Cleanup for app layer
|
||||||
chown -R 1000:0 $HOME
|
chown -R 1000:0 $HOME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user