Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Latest commit

 

History

History
84 lines (50 loc) · 2.16 KB

README.rst

File metadata and controls

84 lines (50 loc) · 2.16 KB

LIEF Docker files

dockerlief contains various Dockerfile as well as a manager to enjoy LIEF

To list all registered dockers:

$ dockerlief list

https://raw.githubusercontent.com/lief-project/Dockerlief/master/.github/img/list.png

To build and get the LIEF's documentation:

$ dockerlief build lief-doc

https://raw.githubusercontent.com/lief-project/Dockerlief/master/.github/img/build.png

Usage

dockerlief --help                                                                                                                                                                                                          (env: pylief)

  ____             _               _     ___ _____ _____
 |  _ \  ___   ___| | _____ _ __  | |   |_ _| ____|  ___|
 | | | |/ _ \ / __| |/ / _ \ '__| | |    | ||  _| | |_
 | |_| | (_) | (__|   <  __/ |    | |___ | || |___|  _|
 |____/ \___/ \___|_|\_\___|_|    |_____|___|_____|_|


usage: dockerlief [-h] [-d DOCKER_DIRECTORY]
                  [--debug | --info | --warning | --error | --critical]
                  {build,list} ...

LIEF Docker manager

positional arguments:
  {build,list}
    build               Build a LIEF Dockerfile
    list                List registred Dockerfile

optional arguments:
  -h, --help            show this help message and exit
  -d DOCKER_DIRECTORY, --directory DOCKER_DIRECTORY, --dir DOCKER_DIRECTORY
                        Location of the Dockerfiles (Default:
                        INSTALL_PATH/dockerlief/dockerfiles)

Logger:
  --debug
  --info
  --warning
  --error
  --critical

Dockerlief - 0.1.0 - Apache 2.0

To run a Dockerfile manually:

$ docker build -f DOCKERFILE_PATH -t DOCKER_TAG .
$ docker run -i -t DOCKER_TAG /bin/bash

Android Docker

The Dockerfile android.docker is used to compile LIEF for Android

You can specify the target architecture / api level as follow:

$ dockerlief build --api-level 21 --arm lief-android