-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebian_jwm.def
73 lines (61 loc) · 1.67 KB
/
debian_jwm.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
Bootstrap: docker
From: debian:bullseye
%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
apt-get update && apt-get install -y \
jwm \
xorg \
dbus-x11 \
xauth \
curl \
wget \
nano \
notepadqq \
vim \
htop \
openvpn \
python3 \
python3-pip \
g++ \
git \
net-tools \
iputils-ping \
nmap \
wireshark \
tcpdump \
john \
aircrack-ng \
hydra \
sqlmap \
whois
# 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 to save space
apt-get clean
%runscript
echo "Welcome to the Debian JWM development and security container!"
jwm
%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 JWM session in background
jwm &
%labels
Author "Nitrous Support Manager"
Version "Debian JWM Development and Security Environment"
%help
This container includes JWM with ProtonVPN, a full suite of security tools, and essential development tools for a minimalistic, efficient environment.