diff --git a/Dockerfile b/Dockerfile index 05c5bfd..bddc45d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive -COPY . /extractor/ RUN apt-get update #Install tzdata in non-interactive mode, otherwise it asks for timezones. RUN apt-get install -y --no-install-recommends tzdata @@ -9,5 +8,8 @@ RUN apt-get install -y git android-sdk-libsparse-utils liblz4-tool brotli unrar RUN apt-get install -y zip rsync RUN apt-get install -y default-jdk # Required for "jar" utility, helps with some broken zip files RUN apt-get install -y python2 # Required for splituapp +RUN apt-get install -y zlib1g-dev # Required for compiling sinextract +COPY . /extractor/ +RUN cd /extractor/sinextract && make -j4 RUN cd /extractor && pip3 install -r requirements.txt ENTRYPOINT ["/extractor/extractor.py"]