zebrunner / appium

Enhanced Appium for Elastic Selenium Grid/MCloud services
8 stars 3 forks source link

investigate possibility to build appium based on alpine:3.19.1 image #357

Open vdelendik opened 6 months ago

vdelendik commented 6 months ago
  1. current official appium image is built based on pretty old ubuntu 16.04: https://hub.docker.com/r/appium/appium
  2. let's try to build on our own using FROM alpine:3.19.1
  3. we have to minimize number of packages as much as possible. current aapium dockerfile can be found here: https://github.com/appium/appium-docker-android/blob/1671704714b8a05b49dea5022b8bd55e51488988/Appium/Dockerfile#L5
  4. Let's push all our appium customization into the recently forked repo: https://github.com/zebrunner/appium-fork
  5. instead of npm install -g appium@... we have to compile our own patched sources

Note: instead of full android sdk install let's try to insta only required binaries aka adb etc. Example of the adb installation on alpine can be found here: https://github.com/zebrunner/mcloud-android-connector/blob/f54a8be7cb3f305fc50716034e4af6ad22b874d5/Dockerfile#L20

Goals:

  1. decreased the size of the appium image
  2. minimize resources consumption of the appium container
  3. etc