1 Commits
Author SHA1 Message Date
DasMoorhuhn a0f9bee020 add docker build env 2026-07-07 22:26:21 +02:00
9 changed files with 3 additions and 28 deletions
-16
View File
@@ -1,18 +1,2 @@
FROM alpine FROM alpine
RUN apk add --no-cache \
openjdk17-jre \
wget \
bash \
patch
RUN wget -O /usr/local/bin/apktool \
https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool && \
wget -O /usr/local/bin/apktool.jar \
https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_3.0.2.jar && \
chmod +x /usr/local/bin/apktool.jar && \
chmod +x /usr/local/bin/apktool
WORKDIR /data
CMD ["tail", "-f", "/dev/null"]
-8
View File
@@ -57,11 +57,3 @@ Decompile the same APK to `./out_orig/` and do you chancges in `./out/`
sh generate_patch_diff.sh sh generate_patch_diff.sh
``` ```
You may want to add a different app version like `android:versionCode='18101' android:versionName='3.8.1_2026.7.7'` to the `AndroidManifest.xml` file, otherwise the version which will be displayed in app info will be `3.8.1`. You may want to add a different app version like `android:versionCode='18101' android:versionName='3.8.1_2026.7.7'` to the `AndroidManifest.xml` file, otherwise the version which will be displayed in app info will be `3.8.1`.
## Docker
The docker image contains all needed tools to decompile/compile an APK.
- Build the image: `docker compose build`
- Run the container: `docker compose up -d`
- Enter the container: `docker compose exec bejeweled-env bash`
View File
+3 -4
View File
@@ -1,10 +1,9 @@
services: services:
bejeweled-env: bejeweled-env:
container_name: bejeweled_env container_name: bejeweled_env:1.0
image: bejeweled-env:1.0 image: bejeweled-env
stop_grace_period: "1s"
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
volumes: volumes:
- ./src:/data:rw - ./docker:/data