-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfedora_lxde.def
98 lines (86 loc) · 2.36 KB
/
fedora_lxde.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
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 essential packages
dnf install --skip-unavailable -y \
@lxde-desktop \
xorg-x11-server-Xorg \
dbus-x11 \
xauth \
curl \
wget \
nano \
vim-enhanced \
htop \
openvpn \
python3 \
python3-pip \
gcc-c++ \
git \
net-tools \
iputils \
nmap \
wireshark \
tcpdump \
john \
aircrack-ng \
hydra \
sqlmap \
whois \
firefox \
chromium \
thunderbird \
filezilla \
libreoffice \
gedit \
gimp \
inkscape \
evince \
okular \
fuse-sshfs \
vnc-server \
tigervnc-server \
gparted \
tmux \
screen \
tigervnc-server-module \
lxappearance \
feh \
lxde-icon-theme \
arc-theme \
papirus-icon-theme \
qt5-qtstyleplugins \
gtk-murrine-engine \
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 expanded Fedora LXDE development container!"
startlxde
%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 LXDE session in background
startlxde &
%labels
Author "Nitrous Support Manager"
Version "Fedora LXDE Extended Desktop for HPC"
%help
This container includes an extended LXDE environment with web browsers, email client, file transfer tools, additional utilities, and desktop management tools for HPC workflows.