Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim committed Nov 26, 2024
1 parent f8e1a59 commit 43ebb6e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM gradle:8.11.1-jdk17-alpine AS build

WORKDIR /src

COPY . .

RUN gradle build shadowJar proguard


FROM openjdk:11

WORKDIR /data

COPY --from=build /src/brut.apktool/apktool-cli/build/libs/apktool-cli.jar /

ENTRYPOINT ["java", "-Xmx1024M", "-Dfile.encoding=utf-8", "-Djdk.util.zip.disableZip64ExtraFieldValidation=true", "-Djdk.nio.zipfs.allowDotZipEntry=true", "-jar", "/apktool-cli.jar"]

0 comments on commit 43ebb6e

Please sign in to comment.