From 4a13104e731d0f78d609b652b633ed50c3a0ff83 Mon Sep 17 00:00:00 2001 From: Sergii Pechenizkyi Date: Sat, 16 Mar 2019 04:49:35 +0100 Subject: [PATCH] Setup public adbkey.pub --- android-emulator/Dockerfile | 7 ++++--- android-emulator/adb/adbkey | 28 ++++++++++++++++++++++++++++ android-emulator/adb/adbkey.pub | 1 + 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 android-emulator/adb/adbkey create mode 100644 android-emulator/adb/adbkey.pub diff --git a/android-emulator/Dockerfile b/android-emulator/Dockerfile index 77098d7..668a674 100644 --- a/android-emulator/Dockerfile +++ b/android-emulator/Dockerfile @@ -25,18 +25,19 @@ ARG SDK_ARCHIVE_VERSION=4333796 RUN cd /opt \ && wget --output-document=android-sdk.zip --quiet https://dl.google.com/android/repository/sdk-tools-linux-${SDK_ARCHIVE_VERSION}.zip \ && unzip -q android-sdk.zip -d android-sdk-linux \ - && rm -f android-sdk.zip \ - && chown -R root.root android-sdk-linux + && rm -f android-sdk.zip # Add enviroment variables # https://developer.android.com/studio/command-line/variables#envar ENV ANDROID_SDK_ROOT /opt/android-sdk-linux -ENV ANDROID_SDK_HOME ${ANDROID_SDK_ROOT}/sdk-home # /tools/bin - sdkmanager, avdmanager # /platform-tools - adb # /emulator - emulator, emulator-check ENV PATH ${ANDROID_SDK_ROOT}/emulator:${ANDROID_SDK_ROOT}/tools/bin:${ANDROID_SDK_ROOT}/platform-tools:${PATH} +# Set up insecure default adb key +COPY adb/* /root/.android/ + ARG BUILD_TOOLS_VERSION=28.0.3 ARG PLATFORM_API_LEVEL=28 ARG EMULATOR_API_LEVEL=28 diff --git a/android-emulator/adb/adbkey b/android-emulator/adb/adbkey new file mode 100644 index 0000000..45c12e3 --- /dev/null +++ b/android-emulator/adb/adbkey @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDPksYYWYU9NMe/ +A551d9c6u5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ahkwSzIbxmfJwQIOTqqcqLWEpsCW +UmP5sRuvBMUqy1IuoxSpMuGrx55gh9oJls1ifHLomfzUUhBPLc7mupWZTxkReQpU +CQmYRQixFEH7lxfguwQ8krnmyef49KKl93xdQHW3HCKl5tWi/+djwbVDAoGBAJW8 +x1LxyH6RF/U4Ks5smn1LeuLBJlBLemIElyo4NZ175+ymbT/jwjcIGux8vZw6h6kD +vaFwLqYbZRhbjIO9zwReoz4YOXZVylF2rVcercW9/882ZIXhvCqIu3IkBxk6iG4X +qikqViTBAEAH2mTGpMkDm89A5Kgtdi43o459AMtRAoGAdLoLPFNZtRznxcQ9Wuhx +Yfcg2EeN2A6EMPzCIdE6/p6RbJvDxTgQqbZm67Qw5M6sh6krXSQLSvyHYpNdeitr +MHm7avfWXwtzX55uIHDH/pxdd8FfXJOMFQ4QM5JiUtGHV9bXDwVLVs6b4//3hQE6 +bCMC1ReBQlg643X54Aolrps= +-----END PRIVATE KEY----- diff --git a/android-emulator/adb/adbkey.pub b/android-emulator/adb/adbkey.pub new file mode 100644 index 0000000..5e3138d --- /dev/null +++ b/android-emulator/adb/adbkey.pub @@ -0,0 +1 @@ +QAAAANlQLwaX0D87k1BV5OxZ9B9BgiH1i8tmOtAd/lL/TbADJ1ZcWgtlxcRtYyMFiIadPsD2139T/yuFMO7FXwZIv35KTIj9tAfmepgYiK1XRpI14Uf7ArnLU+Njcwi3B4pt6N14nsTM7oCGgDtJ3/YQER60Ht8Zl2ZN8dU2+TvNyQujgwkDo3Sn5/6QD26B/sifTD8ZwbJB+vFZYDR67zOD+7cw24O1/0LY8ZNHQcqG8/rHdTVgfXu6/m4iANCzXG5Iojd62qnukvJ/wAPARGWvjr4yDNkc3sQj6LHxCPXzGrG8NwuhcdxoPk4eA/ClJVVLdXcmkbs613d1ngO/xzQ9hVkYxpLP9ocXYlj93hY7Vrh1qDBBnPGVYMH0pPE1mR0m+KfKhjg1GT2C+ADBp9bEmVDjPHeLqI+5Ud42FmJV9BpipWRjB0+VQtFiwpo4QZ60Zd4rwSEsgmPHXdLdUWGFm0/RY4XHOzLFnX8IpBiFSLLqLAW6ziXDv0BH6ZQXkP6RXw5AzOQBHgdb029IjXeu+JX/ZsV7NKnfRzmF0FWC6Cs3S8Lbun8RxmL8qcFlNxbcPpoMWhX+xIIMqmSsDAhQE+OVVS6V/vrhUUGmIGKNc/OJ2fnIhOOgqILuAuVQ/lbLVjatcS+BJQSfcOrKA9Ufcc0uE6kUkcoe3TcgBw/Q95GFv21jfQEAAQA= spechenizkyi@Sergiis-MacBook-Pro-2.local \ No newline at end of file