lightweight container image based on Debian Slim, designed to measure your level of perfection. It provides real-time feedback on your performance and progress. But be warned! In the event of any misunderstandings or discrepancies, the system will respond with a swift "Oops!" and shut down, ensuring that only the most accurate assessments are maintained. https://gitlab.com/pilasguru/suicide-linux
  • Dockerfile 100%
Find a file
2026-03-14 17:54:28 -03:00
.gitlab-ci.yml Harden suicide wipe with mount pruning and CI smoke tests 2026-03-14 17:48:22 -03:00
bash.bashrc Harden suicide wipe with mount pruning and CI smoke tests 2026-03-14 17:48:22 -03:00
Dockerfile Harden suicide wipe with mount pruning and CI smoke tests 2026-03-14 17:48:22 -03:00
LICENSE Migration & first commit 2024-09-27 14:49:28 -03:00
original-README.md Migration & first commit 2024-09-27 14:49:28 -03:00
README.md Update README with 2024 and 2026 release notes 2026-03-14 17:54:28 -03:00
screenshot.png Migration & first commit 2024-09-27 14:49:28 -03:00
suicide-linux-qntm.md Migration & first commit 2024-09-27 14:49:28 -03:00

SUICIDE LINUX

Enjoy this minimal Debian-based Linux image and customize it as needed.

docker run --rm -it registry.gitlab.com/pilasguru/suicide-linux

Important safety note

This image runs as root so you can install packages inside the container.

The wipe routine reads /proc/self/mountinfo and prunes sub-mounts from find, reducing the chance of touching bind mounts. Even with this protection, do not mount sensitive host paths (for example -v /:/host), because container isolation is not a hard security boundary.

Prompt and game behavior

Each prompt shows a success counter. The prompt is rendered in two lines:

[0]
/ $ ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

[1]
/ $ echo I am perfect!
I am perfect!

[2]
/ $

If a command exits with an error, the counter resets and the prompt includes the exit code:

[237]
/ $ tar mt
tar: Refusing to read archive contents from terminal (missing -f option?)
tar: Error is not recoverable: exiting now

[0 2]
/ $

If you enter an unknown command, the wipe routine starts and the counter goes back to [0].

History and motivation

Original (pre-2019)

The original concept and project come from tiagoad/suicide-linux, with a full explanation in Suicide Linux (and a local copy in suicide-linux-qntm.md, captured in 2024).

The initial idea behind Suicide Linux was to execute rm -rf / to wipe the drive.

This fork

While the original approach works, it can produce noisy output, execution errors, and prompt degradation.

This fork aims to keep a usable prompt while disabling executables quickly after an unknown command, so the environment reaches the "suicide state" with less intermediate instability.

The original README from this fork's early versions is available at original-README.md.

Update 2024

As of 2024, this repository was updated to use Debian Slim as a base and improve wipe speed and output.

Update 2026

In 2026, the wipe logic was hardened to prune sub-mounts discovered from /proc/self/mountinfo, the image kept root for package installation, and CI gained smoke tests for build and invalid-command behavior.

License

This is a derivative work.

The fork-specific development is licensed under WTFPL.