add docker build env

This commit is contained in:
2026-07-09 19:05:51 +02:00
parent 16f3abf51b
commit 6536181373
9 changed files with 35 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM alpine
RUN apk add --no-cache \
openjdk17-jre \
wget \
bash \
patch
RUN wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool && \
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_3.0.2.jar
RUN mv ./apktool /usr/local/bin/ && \
mv ./apktool_3.0.2.jar /usr/local/bin/apktool.jar && \
chmod +x /usr/local/bin/apktool.jar && \
chmod +x /usr/local/bin/apktool
WORKDIR /data
CMD ["tail", "-f", "/dev/null"]
+6
View File
@@ -57,3 +57,9 @@ Decompile the same APK to `./out_orig/` and do you chancges in `./out/`
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`.
## Docker
- Build the image: `docker compose build`
- Run the container: `docker compose up -d`
- Enter the container: `docker compose exec bejeweled-env bash`
+10
View File
@@ -0,0 +1,10 @@
services:
bejeweled-env:
container_name: bejeweled_env
image: bejeweled-env:1.0
stop_grace_period: "1s"
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src:/data:rw
View File