From 7f2ca3821e7ba1859d0e4f9b01070bdad514c4fc Mon Sep 17 00:00:00 2001 From: Sergii Pechenizkyi Date: Fri, 8 Mar 2019 12:16:01 +0100 Subject: [PATCH] Group arguments closer to where they are used --- android-emulator/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/android-emulator/Dockerfile b/android-emulator/Dockerfile index 487eac5..000dfd5 100644 --- a/android-emulator/Dockerfile +++ b/android-emulator/Dockerfile @@ -1,10 +1,5 @@ FROM debian:stretch -ARG BUILD_TOOLS_VERSION=28.0.3 -ARG PLATFORM_API_LEVEL=28 -ARG EMULATOR_API_LEVEL=28 -ARG EMULATOR_ARCH=x86_64 - # Install java and dependencies # to debug missing lib issues use ldconfig -p | grep libGL # Dev deps are taken from https://source.android.com/source/initializing#installing-required-packages-ubuntu-1404 @@ -76,6 +71,11 @@ ENV ANDROID_SDK_HOME ${ANDROID_SDK_ROOT}/sdk-home # /emulator - emulator, emulator-check ENV PATH ${ANDROID_SDK_ROOT}/emulator:${ANDROID_SDK_ROOT}/tools/bin:${ANDROID_SDK_ROOT}/platform-tools:${PATH} +ARG BUILD_TOOLS_VERSION=28.0.3 +ARG PLATFORM_API_LEVEL=28 +ARG EMULATOR_API_LEVEL=28 +ARG EMULATOR_ARCH=x86_64 + # Update AndroidSDK # Get ids from sdkmanager --list RUN yes 'y' | sdkmanager --licenses >/dev/null \