-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeb_icewm.def
75 lines (65 loc) · 1.54 KB
/
deb_icewm.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
Bootstrap: docker
From: debian:bullseye
%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
apt-get update && apt-get install -y \
icewm \
xorg \
dbus-x11 \
curl \
wget \
vim \
nano \
htop \
openvpn \
python3 \
python3-pip \
g++ \
git \
net-tools \
iputils-ping \
nmap \
wireshark \
tcpdump \
john \
aircrack-ng \
hydra \
sqlmap \
whois \
gnome-terminal \
gparted \
bleachbit \
remmina \
hexchat \
clamav \
ufw \
keepassxc \
audacity \
notepadqq
# Install ProtonVPN CLI
pip3 install protonvpn-cli
# Create XDG runtime directory for D-Bus
mkdir -p /tmp/xdg-runtime
chmod 700 /tmp/xdg-runtime
# Clean up
apt-get clean
%runscript
echo "Welcome to the Debian container with IceWM!"
icewm-session
%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 IceWM session
icewm-session &
%labels
Author "Nitrous Support Manager"
Version "Debian-IceWM"