Skip to content

Commit

Permalink
Remove unused libs
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumWalley authored Oct 27, 2023
1 parent 96530ae commit 1b78012
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions sif/rocky8vis.def
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,27 @@ From: ghcr.io/nesi/nesi-virtual-desktops/rocky8:latest

%post

dnf -y install epel-release

dnf -y install libXp # For ANSYS EM
dnf -y install libX11
dnf -y install libXext
dnf config-manager --set-enabled powertools

dnf -y install qt5-devel

dnf -y install mesa-libGL
dnf -y install mesa-libGL-devel
dnf -y install mesa-libGLU
dnf -y install mesa-libGLU-devel

dnf config-manager --set-enabled powertools
dnf -y copr enable stenstorp/lightdm
dnf -y --setopt=group_package_types="mandatory" groupinstall "xfce" # Most default is trash.
dnf -y install lightdm
dnf -y install slurm-gui

wget -q https://sourceforge.net/projects/virtualgl/files/2.6.5/VirtualGL-2.6.5.x86_64.rpm
wget -nv https://sourceforge.net/projects/virtualgl/files/2.6.5/VirtualGL-2.6.5.x86_64.rpm
dnf -y install VirtualGL-2.6.5.x86_64.rpm
rm -f VirtualGL-2.6.5.x86_64.rpm
rm -vf VirtualGL-2.6.5.x86_64.rpm

TURBOVNC_VERSION=2.2.4
wget https://sourceforge.net/projects/turbovnc/files/${TURBOVNC_VERSION}/turbovnc-${TURBOVNC_VERSION}.x86_64.rpm -q
wget -nv https://sourceforge.net/projects/turbovnc/files/${TURBOVNC_VERSION}/turbovnc-${TURBOVNC_VERSION}.x86_64.rpm -q
dnf install -y turbovnc-${TURBOVNC_VERSION}.x86_64.rpm
rm -f turbovnc-${TURBOVNC_VERSION}.x86_64.rpm
rm -vf turbovnc-${TURBOVNC_VERSION}.x86_64.rpm

# Websockify
mkdir -p /opt/websockify
wget https://github.com/novnc/websockify/archive/master.tar.gz -q -O - | tar xzf - -C /opt/websockify --strip-components=1
wget -nv https://github.com/novnc/websockify/archive/master.tar.gz -q -O - | tar xzf - -C /opt/websockify --strip-components=1

# noVNC
mkdir -p /opt/noVNC
Expand Down

0 comments on commit 1b78012

Please sign in to comment.