I'm using the following docker image: https://github.com/budtmo/docker-android It's Docker image for Android emulators.
I'm run It using Kubernetes with the following deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: android-deployment
spec:
selector:
matchLabels:
app: android-emulator
replicas: 10
template:
metadata:
labels:
app: android-emulator
spec:
containers:
- name: android-emulator
image: budtmo/docker-android-x86-8.1
ports:
- containerPort: 6080
- containerPort: 5554
- containerPort: 5555
env:
- name: DEVICE
value: "Samsung Galaxy S8"
After the container is running its automatic start the Android emulator (don't know exactly how). I need to run python script automatic after the container is up for each running container, How can I do it? What should I change in my deployment file?