mirror of
https://github.com/budtmo/docker-android.git
synced 2026-07-29 19:00:34 +00:00
Added google analytics and automation script for Genymotion
This commit is contained in:
+8
-1
@@ -92,6 +92,7 @@ ARG BROWSER=android
|
||||
ARG CHROME_DRIVER=2.40
|
||||
ARG GOOGLE_PLAY_SERVICE=12.8.74
|
||||
ARG GOOGLE_PLAY_STORE=11.0.50
|
||||
ARG APP_RELEASE_VERSION=1.5-p0
|
||||
ENV ANDROID_VERSION=$ANDROID_VERSION \
|
||||
API_LEVEL=$API_LEVEL \
|
||||
PROCESSOR=$PROCESSOR \
|
||||
@@ -100,7 +101,13 @@ ENV ANDROID_VERSION=$ANDROID_VERSION \
|
||||
BROWSER=$BROWSER \
|
||||
CHROME_DRIVER=$CHROME_DRIVER \
|
||||
GOOGLE_PLAY_SERVICE=$GOOGLE_PLAY_SERVICE \
|
||||
GOOGLE_PLAY_STORE=$GOOGLE_PLAY_STORE
|
||||
GOOGLE_PLAY_STORE=$GOOGLE_PLAY_STORE \
|
||||
GA=true \
|
||||
GA_ENDPOINT=https://www.google-analytics.com/collect \
|
||||
GA_TRACKING_ID=UA-128205228-1 \
|
||||
GA_API_VERSION="1" \
|
||||
APP_RELEASE_VERSION=$APP_RELEASE_VERSION \
|
||||
APP_TYPE=Emulator
|
||||
ENV PATH ${PATH}:${ANDROID_HOME}/build-tools
|
||||
|
||||
RUN yes | sdkmanager --licenses && \
|
||||
|
||||
+8
-1
@@ -80,6 +80,7 @@ RUN wget -nv -O noVNC.zip "https://github.com/kanaka/noVNC/archive/${NOVNC_SHA}
|
||||
# noVNC Default Configurations
|
||||
# These Configurations can be changed through -e
|
||||
#================================================
|
||||
ARG APP_RELEASE_VERSION=1.5-p0
|
||||
ENV DISPLAY=:0 \
|
||||
SCREEN=0 \
|
||||
SCREEN_WIDTH=1600 \
|
||||
@@ -89,7 +90,13 @@ ENV DISPLAY=:0 \
|
||||
TARGET_PORT=6080 \
|
||||
TIMEOUT=1 \
|
||||
VIDEO_PATH=/tmp/video \
|
||||
LOG_PATH=/var/log/supervisor
|
||||
LOG_PATH=/var/log/supervisor \
|
||||
GA=true \
|
||||
GA_ENDPOINT=https://www.google-analytics.com/collect \
|
||||
GA_TRACKING_ID=UA-128205228-1 \
|
||||
GA_API_VERSION="1" \
|
||||
APP_RELEASE_VERSION=$APP_RELEASE_VERSION \
|
||||
APP_TYPE=Genymotion
|
||||
|
||||
#====================
|
||||
# Install genymotion
|
||||
|
||||
+8
-1
@@ -71,6 +71,7 @@ RUN wget -nv -O noVNC.zip "https://github.com/kanaka/noVNC/archive/${NOVNC_SHA}
|
||||
# noVNC Default Configurations
|
||||
# These Configurations can be changed through -e
|
||||
#================================================
|
||||
ARG APP_RELEASE_VERSION=1.5-p0
|
||||
ENV DISPLAY=:0 \
|
||||
SCREEN=0 \
|
||||
SCREEN_WIDTH=1600 \
|
||||
@@ -80,7 +81,13 @@ ENV DISPLAY=:0 \
|
||||
TARGET_PORT=6080 \
|
||||
TIMEOUT=1 \
|
||||
VIDEO_PATH=/tmp/video \
|
||||
LOG_PATH=/var/log/supervisor
|
||||
LOG_PATH=/var/log/supervisor \
|
||||
GA=true \
|
||||
GA_ENDPOINT=https://www.google-analytics.com/collect \
|
||||
GA_TRACKING_ID=UA-128205228-1 \
|
||||
GA_API_VERSION="1" \
|
||||
APP_RELEASE_VERSION=$APP_RELEASE_VERSION \
|
||||
APP_TYPE=Device
|
||||
|
||||
#=========================
|
||||
# Set default variables
|
||||
|
||||
Reference in New Issue
Block a user