Radare2 snap and docker repository

snap: radare2 docker: radare/radare2

This repository contains the recipie to build the snap version of radare2 using docker as well to build a standalone docker image with the same build.

The resulting build includes the following projects:

Install the snap

Get it from the Snap Store

Radare requires snap classic confinement, to install run:

sudo snap install radare2 --classic

Once installed all radare commands are available as: radare2.<command> (ex: radare2.rasm2).

To allow using radare commands without this prefix, it can be solved either by using shell alias or by adding /snap/radare2/current/bin to your PATH environment. Also if r2pm gets used it can also be useful to add the user local prefix ~/.local/share/radare2/prefix/bin.

So as an example could be somthing like this:

PATH="$HOME/.local/share/radare2/prefix/bin:/snap/radare2/current/bin:$PATH"

The docker image

As explained, with the same snap build a docker image is generated.

For documentation on how to use this docker image you can refer to containers section in this respository.

Languages
Dockerfile 47.6%
Makefile 46.9%
Shell 5.5%