apkdiff icon indicating copy to clipboard operation
apkdiff copied to clipboard

Add Containerfile/Dockerfile & list of required deps

Open emanuelb opened this issue 2 years ago • 2 comments

from code looks like both apktool and meld and python3 are dependencies that should be mentioned in README.

ContainerFile I used:

podman build --rm -t apkdiff -f ContainerFileApkDiff
podman run --rm --name apkdiff -ti apkdiff
FROM debian:sid-slim

RUN set -ex; \
    apt-get update; \
    DEBIAN_FRONTEND=noninteractive apt-get install --yes -o APT::Install-Suggests=false --no-install-recommends \
        python3 \
        apktool \
        meld \
        git; \
    rm -rf /var/lib/apt/lists/*; \
    useradd -ms /bin/bash appuser;
    
USER appuser

RUN set -ex; \
    cd /home/appuser/; \
    git clone --depth 1 https://github.com/daniellockyer/apkdiff;
    
WORKDIR /home/appuser/apkdiff/

emanuelb avatar Aug 14 '22 10:08 emanuelb

Happy to accept a PR to fix this 🙂

daniellockyer avatar Oct 13 '22 03:10 daniellockyer

https://github.com/daniellockyer/apkdiff/pull/14

Doesn't add a Dockerfile, but it does update README.md to list required and optional dependencies and known working versions.

IanGallacher avatar Mar 09 '23 23:03 IanGallacher