This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
revanced-builder/Dockerfile
Nikolaos Karaolidis c9e8c546f8 Add build-apps patch
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2023-08-14 11:17:01 +02:00

19 lines
456 B
Docker

FROM ubuntu
RUN apt-get update && apt-get install -y git jq openjdk-17-jdk zip wget
RUN git clone --recurse https://github.com/revanced-apks/build-apps.git /app
WORKDIR /app
COPY config.toml config.toml
COPY options.json options.json
COPY patches/ patches/
RUN patch -p1 < patches/0001-build-apps.patch
RUN groupadd -g 1000 revanced
RUN useradd -u 1000 -g revanced revanced
RUN chown -R revanced:revanced /app
USER revanced
CMD [ "bash", "build.sh" ]