An open API service indexing awesome lists of open source software.

https://github.com/linuxdicaspro/alpack

Portable rust tool for Alpine containers using proot and bwrap
https://github.com/linuxdicaspro/alpack

alpine-linux bubblewrap bwrap proot rootfs sandbox

Last synced: 8 months ago
JSON representation

Portable rust tool for Alpine containers using proot and bwrap

Awesome Lists containing this project

README

          


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:

```bash
$ ALPack setup
```

Run an Alpine rootfs:

```bash
$ ALPack
# or
$ ALPack run
```

Running in an isolated environment with proot or bwrap:

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

## ๐Ÿ“ฆ Optional Installation

You can install AlpineBox manually:

```bash
$ 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](LICENSE) file for details.