mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:添加docker-android到列表
This commit is contained in:
parent
5ee7c141ab
commit
5fa97745b6
44
apps/docker-android/README.md
Normal file
44
apps/docker-android/README.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Docker-Android
|
||||||
|
|
||||||
|
Docker-Android 是一个用于 Android 相关一切事务的 Docker 镜像。它可以用于应用程序开发和测试(包括原生应用、网页应用和混合应用)。
|
||||||
|
|
||||||
|
|
||||||
|
## 使用说明
|
||||||
|
|
||||||
|
要验证您的系统是否支持 KVM,请运行以下命令:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install cpu-checker
|
||||||
|
sudo kvm-ok
|
||||||
|
```
|
||||||
|
|
||||||
|
**容器镜像与模拟的设备型号可从以下选择 (后续官方可能有修改,以官方文档为准)**
|
||||||
|
|
||||||
|
Docker 镜像列表
|
||||||
|
---------------------
|
||||||
|
|Android |API |最新版本镜像 |指定版本镜像|
|
||||||
|
|:---|:---|:---|:---|
|
||||||
|
|9.0|28|budtmo/docker-android:emulator_9.0|budtmo/docker-android:emulator_9.0_<release_version>|
|
||||||
|
|10.0|29|budtmo/docker-android:emulator_10.0|budtmo/docker-android:emulator_10.0_<release_version>|
|
||||||
|
|11.0|30|budtmo/docker-android:emulator_11.0|budtmo/docker-android:emulator_11.0_<release_version>|
|
||||||
|
|12.0|32|budtmo/docker-android:emulator_12.0|budtmo/docker-android:emulator_12.0_<release_version>|
|
||||||
|
|13.0|33|budtmo/docker-android:emulator_13.0|budtmo/docker-android:emulator_13.0_<release_version>|
|
||||||
|
|14.0|34|budtmo/docker-android:emulator_14.0|budtmo/docker-android:emulator_14.0_<release_version>|
|
||||||
|
|-|-|budtmo/docker-android:genymotion|budtmo/docker-android:genymotion_<release_version>|
|
||||||
|
|
||||||
|
设备列表
|
||||||
|
---------------
|
||||||
|
|
||||||
|
|类型 | 设备名称|
|
||||||
|
|----- | -----|
|
||||||
|
|手机 | Samsung Galaxy S10|
|
||||||
|
|手机 | Samsung Galaxy S9|
|
||||||
|
|手机 | Samsung Galaxy S8|
|
||||||
|
|手机 | Samsung Galaxy S7 Edge|
|
||||||
|
|手机 | Samsung Galaxy S7|
|
||||||
|
|手机 | Samsung Galaxy S6|
|
||||||
|
|手机 | Nexus 4|
|
||||||
|
|手机 | Nexus 5|
|
||||||
|
|手机 | Nexus One|
|
||||||
|
|手机 | Nexus S|
|
||||||
|
|平板 | Nexus 7|
|
19
apps/docker-android/data.yml
Normal file
19
apps/docker-android/data.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Docker-Android
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 在 Docker 中运行 Android
|
||||||
|
description: 在 Docker 中运行 Android
|
||||||
|
additionalProperties:
|
||||||
|
key: docker-android
|
||||||
|
name: Docker-Android
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 在 Docker 中运行 Android
|
||||||
|
shortDescEn: Run Android in Docker
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://github.com/budtmo/docker-android
|
||||||
|
github: https://github.com/budtmo/docker-android
|
||||||
|
document: https://github.com/budtmo/docker-android
|
6
apps/docker-android/latest/.env.sample
Normal file
6
apps/docker-android/latest/.env.sample
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
CONTAINER_NAME="docker-android"
|
||||||
|
EMULATOR_DEVICE="Samsung Galaxy S10"
|
||||||
|
IMAGE="budtmo/docker-android:latest"
|
||||||
|
PANEL_APP_PORT_HTTP=40288
|
||||||
|
RESTART_POLICY="always"
|
||||||
|
WEB_VNC="true"
|
50
apps/docker-android/latest/data.yml
Normal file
50
apps/docker-android/latest/data.yml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "budtmo/docker-android:latest"
|
||||||
|
edit: true
|
||||||
|
envKey: IMAGE
|
||||||
|
labelEn: Container Image
|
||||||
|
labelZh: 容器镜像
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "always"
|
||||||
|
edit: true
|
||||||
|
envKey: RESTART_POLICY
|
||||||
|
labelEn: Restart Policy
|
||||||
|
labelZh: 重启策略
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "Always"
|
||||||
|
value: "always"
|
||||||
|
- label: "Unless Stopped"
|
||||||
|
value: "unless-stopped"
|
||||||
|
- label: "No"
|
||||||
|
value: "no"
|
||||||
|
- default: "Samsung Galaxy S10"
|
||||||
|
edit: true
|
||||||
|
envKey: EMULATOR_DEVICE
|
||||||
|
labelEn: Emulator Device
|
||||||
|
labelZh: 模拟的设备
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "true"
|
||||||
|
edit: true
|
||||||
|
envKey: WEB_VNC
|
||||||
|
labelEn: Web VNC
|
||||||
|
labelZh: Web VNC
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "True"
|
||||||
|
value: "true"
|
||||||
|
- label: "False"
|
||||||
|
value: "false"
|
||||||
|
- default: "40288"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
20
apps/docker-android/latest/docker-compose.yml
Normal file
20
apps/docker-android/latest/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
docker-android:
|
||||||
|
image: ${IMAGE}
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: ${RESTART_POLICY}
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
devices:
|
||||||
|
- /dev/kvm
|
||||||
|
environment:
|
||||||
|
- EMULATOR_DEVICE=${EMULATOR_DEVICE}
|
||||||
|
- WEB_VNC=${WEB_VNC}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:6080
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
BIN
apps/docker-android/logo.png
Normal file
BIN
apps/docker-android/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in New Issue
Block a user