Compare commits

..

No commits in common. "master" and "1.9-p3" have entirely different histories.

5 changed files with 7 additions and 15 deletions

View file

@ -9,7 +9,6 @@
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3f000ffb97db45a59161814e1434c429)](https://www.codacy.com/app/butomo1989/docker-appium?utm_source=github.com&utm_medium=referral&utm_content=butomo1989/docker-appium&utm_campaign=Badge_Grade)
[![GitHub release](https://img.shields.io/github/release/budtmo/docker-android.svg)](https://github.com/budtmo/docker-android/releases)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fbudtmo%2Fdocker-android.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fbudtmo%2Fdocker-android?ref=badge_shield)
[![Paypal Donate](https://img.shields.io/badge/paypal-donate-blue.svg)](http://paypal.me/budtmo)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
Docker-Android is a docker image built to be used for everything related to mobile website testing and Android project.
@ -82,14 +81,7 @@ Docker is installed in your system.
Quick Start
-----------
1. Your machine need to support virtualization. To check it:
```
sudo apt install cpu-checker
kvm-ok
```
2. Run Docker-Android
1. Run Docker-Android
- For ***Linux OS***, please use image name that contains "x86"
@ -100,7 +92,7 @@ Quick Start
- For ***OSX*** and ***Windows OS***, please use Virtual Machine that support Virtualization with Ubuntu OS
3. Verify the ip address of docker host.
2. Verify the ip address of docker host.
- For OSX, you can find out by using following command:
@ -110,7 +102,7 @@ Quick Start
- For different OS, localhost should work.
4. Open ***http://docker-host-ip-address:6080*** from web browser. Note: Adding ```?view_only=true``` will give user only view only permission.
3. Open ***http://docker-host-ip-address:6080*** from web browser. Note: Adding ```?view_only=true``` will give user only view only permission.
Custom configurations
---------------------

View file

@ -1,4 +1,4 @@
FROM appium/appium:1.20.2-p0
FROM appium/appium:1.21.0-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"

View file

@ -1,4 +1,4 @@
FROM appium/appium:1.20.2-p0
FROM appium/appium:1.21.0-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"

View file

@ -1,4 +1,4 @@
FROM appium/appium:1.20.2-p0
FROM appium/appium:1.21.0-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"

View file

@ -56,7 +56,7 @@ def is_initialized(device_name) -> bool:
if os.path.exists(config_path):
logger.info('Found existing config file at {}.'.format(config_path))
with open(config_path, 'r') as f:
if any('hw.device.name = {}'.format(device_name) in line for line in f):
if any('hw.device.name={}'.format(device_name) in line for line in f):
logger.info('Existing config file references {}. Assuming device was previously initialized.'.format(device_name))
return True
else: