Skip to content

Docker file for androidqf #82

@mbn18

Description

@mbn18

Hey,

As of the talk Add androidqf command to the public docker image #748 at mvt.

I created a Dockerfile and it works with quite a small footprint of 32.5MB.

Next step is to decide if its beneficial and if we want to automate the build using Github action on new release.

Here is the Docker, im ready for any change and pull request.

Docker file

FROM alpine:3.23

ARG VERSION=1.8.1

RUN apk add --no-cache gcompat libgcc \
        && wget -O /usr/local/bin/androidqf \
        "https://github.com/mvt-project/androidqf/releases/download/v${VERSION}/androidqf_v${VERSION}_linux_amd64" \
        && chmod +x /usr/local/bin/androidqf

WORKDIR /acquisition

ENTRYPOINT ["androidqf"]
CMD ["-output", "/output"]

Build

docker build -t androidqf .

Run

docker run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb -v $(pwd)/output:/output androidqf -fast -output /output

Other interesting question, do we want to support Mac/Windows. although they dont support the --privileged or the --device flag out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions