Radare2 snap and docker repository
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
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.