Skip to content

LinuxDicasPro/ALPack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALPack

ALPack - Alpine Linux SandBox Packager

ALPack is a portable tool written in Rust for creating and managing Alpine Linux rootfs. It uses proot and bubblewrap (bwrap) to provide isolated environments without requiring superuser privileges.

✨ Features

  • 📦 Easily create and manage portable Alpine rootfs.
  • ⚡ Fast and minimal Alpine Linux environment setup;
  • 🧪 Safe sandboxing for testing or restricted systems;
  • 📆 Command execution inside containers;
  • 📁 Support for multiple rootfs directories and caches;
  • 💪 Ideal for compiling static binaries using musl and Alpine's minimal toolchain.
  • 🛠️ Work directly with APKBUILDs, simplifying the packaging process.
  • 💼 Run anywhere without complex installation, thanks to its fully portable design.
  • 🔒 Runs without root;

Lightweight, fast, and productivity-focused, ALPack bridges the gap between Alpine Linux flexibility and secure isolated environments.

🚀 Usage

Creating an Alpine rootfs:

$ ALPack setup

Run an Alpine rootfs:

$ ALPack
# or
$ ALPack run

Running in an isolated environment with proot or bwrap:

$ ALPack config --use-proot
# or
$ ALPack config --use-bwrap

📦 Optional Installation

You can install AlpineBox manually:

$ wget https://github.com/LinuxDicasPro/ALPack/releases/download/Continuous/ALPack
$ chmod +x ./ALPack
$ sudo mv ./ALPack /usr/bin/ALPack

Required proot or bubblewrap packages.

🧪 Why AlpineBox for Static Binaries?

Alpine Linux uses the musl libc and provides toolchains that are naturally geared toward static compilation. Combined with the lightweight nature of AlpineBox:

  • You can quickly set up isolated environments for building static binaries with musl-gcc;
  • Perfect for creating portable binaries that run across different Linux systems;
  • Avoids linking with host system libraries;
  • Small footprint and fast setup, ideal for CI/CD pipelines and embedded builds.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Portable rust tool for Alpine containers using proot and bwrap

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •