-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfedora_lxqt.def
104 lines (92 loc) · 2.55 KB
/
fedora_lxqt.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Bootstrap: docker
From: fedora:latest
%setup
# No additional setup required outside the container.
%environment
export DISPLAY=localhost:10.0
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export XDG_RUNTIME_DIR=/tmp/xdg-runtime
%post
# Update and install LXQt desktop environment and essential packages
dnf install --skip-broken -y \
# LXQt Components
lxqt-panel \
lxqt-session \
lxqt-config \
lxqt-policykit \
lxqt-powermanagement \
lxqt-runner \
lxqt-qtplugin \
lxqt-about \
lxqt-admin \
lxqt-globalkeys \
lxqt-notificationd \
lxqt-openssh-askpass \
openbox \
# Core tools and applications
xorg-x11-server-Xorg \
dbus-x11 \
xauth \
wget \
nano \
vim-enhanced \
htop \
openvpn \
python3 \
python3-pip \
gcc-c++ \
git \
net-tools \
iputils \
nmap \
wireshark \
tcpdump \
john \
aircrack-ng \
hydra \
firefox \
chromium \
thunderbird \
filezilla \
libreoffice \
gedit \
gimp \
inkscape \
evince \
fuse-sshfs \
tigervnc-server \
gparted \
tmux \
screen \
lxappearance \
feh \
lxqt-themes \
arc-theme \
papirus-icon-theme \
compton \
nitrogen
# Install additional Python packages for development and data analysis
pip3 install numpy pandas matplotlib jupyterlab scikit-learn seaborn scipy
# Set up necessary runtime and temporary directories
mkdir -p /tmp/xdg-runtime
chmod 700 /tmp/xdg-runtime
# Clean up to save space
dnf clean all
%runscript
echo "Welcome to the Fedora LXQt development container!"
startlxqt
%startscript
# Set up runtime directory and start D-Bus
mkdir -p /tmp/xdg-runtime
export XDG_RUNTIME_DIR=/tmp/xdg-runtime
chmod 700 /tmp/xdg-runtime
eval $(dbus-launch --sh-syntax)
export DBUS_SESSION_BUS_ADDRESS
# Start LXQt session in background
startlxqt &
%labels
Author "Nitrous Support Manager"
Version "Fedora LXQt Extended Desktop for HPC"
%help
This container includes an extended LXQt environment with web browsers, email client, file transfer tools, additional utilities, and desktop management tools for HPC workflows.