-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vadim
committed
Nov 26, 2024
1 parent
f8e1a59
commit 43ebb6e
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |