mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-06 07:57:22 +02:00
Generate ADB key on first run to avoid static key in image
This commit is contained in:
1 parent
6e0cd23bbc
commit
4598293c82
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -28,6 +28,7 @@ ADD https://github.com/nelenkov/android-backup-extractor/releases/download/maste
|
||||
RUN echo 'alias abe="java -jar /opt/abe/abe.jar"' >> ~/.bashrc
|
||||
|
||||
# Generate adb key folder
|
||||
RUN mkdir /root/.android && adb keygen /root/.android/adbkey
|
||||
RUN echo 'if [ ! -f /root/.android/adbkey ]; then adb keygen /root/.android/adbkey 2&>1 > /dev/null; fi' >> ~/.bashrc
|
||||
RUN mkdir /root/.android
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/mvt-android" ]
|
||||
Reference in new issue
Block a user