2021-02-22 09:43:55 -08:00
|
|
|
FROM ubuntu:20.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update
|
|
|
|
#Install tzdata in non-interactive mode, otherwise it asks for timezones.
|
|
|
|
RUN apt-get install -y --no-install-recommends tzdata
|
|
|
|
RUN apt-get install -y python3 python3-pip swig
|
2021-09-27 01:54:24 -07:00
|
|
|
RUN apt-get install -y git android-sdk-libsparse-utils liblz4-tool brotli unrar p7zip-full
|
2021-02-22 09:43:55 -08:00
|
|
|
RUN apt-get install -y zip rsync
|
2021-09-27 01:54:24 -07:00
|
|
|
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
|
2021-09-27 05:17:50 -07:00
|
|
|
RUN apt-get install -y zlib1g-dev # Required for compiling sinextract
|
|
|
|
COPY . /extractor/
|
|
|
|
RUN cd /extractor/sinextract && make -j4
|
2021-02-22 09:43:55 -08:00
|
|
|
RUN cd /extractor && pip3 install -r requirements.txt
|
|
|
|
ENTRYPOINT ["/extractor/extractor.py"]
|