decaf-project / DECAF

DECAF (short for Dynamic Executable Code Analysis Framework) is a binary analysis platform based on QEMU. This is also the home of the DroidScope dynamic Android malware analysis platform. DroidScope is now an extension to DECAF.
GNU General Public License v3.0
803 stars 168 forks source link

Dokcer couldn't find 'libsdl1.2-dev' #48

Open yuroc0598 opened 6 years ago

yuroc0598 commented 6 years ago

Hi,

I'm trying to use DECAF using docker. The installation failed after I issued the following commands: 'sudo docker volum create decafvolume' 'sudo docker build -t decaf ./decaf/'

The error is:

Sending build context to Docker daemon 4.096kB Step 1/57 : FROM ubuntu:16.04 ---> 0458a4468cbc Step 2/57 : RUN apt-get update ---> Using cache ---> 6564bd249788 Step 3/57 : RUN apt-get install libsdl1.2-dev -y ---> Running in 0346fc09fd5b Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package libsdl1.2-dev E: Couldn't find any package by glob 'libsdl1.2-dev' E: Couldn't find any package by regex 'libsdl1.2-dev' The command '/bin/sh -c apt-get install libsdl1.2-dev -y' returned a non-zero code: 100

It seems that the package 'libsdl1.2-dev' is not found. My system is Ubuntu 14.04, docker version is 17.05.0-ce. Any help will be fully appreciated!

yuroc0598 commented 6 years ago

Actually, when I set up the environment on Ubuntu 16.04 the Docker script works. On Ubuntu 14.04, even if I change the first line in Dockerfile "From ubuntu:16.04" to "From ubuntu 14.04", it won't work.