SUPERAndroidAnalyzer / super

Secure, Unified, Powerful and Extensible Rust Android Analyzer
https://superanalyzer.rocks/
GNU General Public License v3.0
421 stars 59 forks source link

Create our own docker containers #175

Closed Razican closed 5 years ago

Razican commented 5 years ago

Most of the time in our current builds is spent updating and installing new packages for our docker images. We first do an update (apt-get update, yum update or dnf upgrade), then install the required packages, including rust and cargo-deb, which takes even more time, and finally, we create the actual package.

The actual package creation, at least in Ubuntu/Debian takes a pretty short time, since the dependencies are cached. Therefore, we should create our own Docker images, with everything pre-installed, to lower the build times even further.

Razican commented 5 years ago

Initial testing containers are now available in https://hub.docker.com/u/superandroidanalyzer/.

We need to automate their generation, though, and see if we can deflate them a bit, they seem too big.

Razican commented 5 years ago

This is now automated, and images are updated daily thanks to the images in https://github.com/SUPERAndroidAnalyzer/docker-images