Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Go Dockerclient | 2,108 | 3,296 | 914 | a day ago | 100 | October 06, 2023 | 9 | bsd-2-clause | Go | |
Go client for the Docker Engine API. | ||||||||||
Zaneperfor | 1,583 | 4 months ago | 36 | other | JavaScript | |||||
前端性能监控系统,消息队列,高可用,集群等相关架构 | ||||||||||
Cloudboost | 1,420 | 5 months ago | 134 | apache-2.0 | JavaScript | |||||
Realtime JavaScript Backend. | ||||||||||
Androidsdk | 1,118 | 2 months ago | 2 | apache-2.0 | Dockerfile | |||||
🐳 Full-fledged Android SDK Docker Image | ||||||||||
Docker Android Build Box | 469 | 14 days ago | 5 | mit | Dockerfile | |||||
An optimized docker image includes Android, Kotlin, Flutter sdk. | ||||||||||
Go Githubactions | 344 | 13 | 9 months ago | 18 | October 12, 2022 | apache-2.0 | Go | |||
Go SDK for GitHub Actions - easily author GitHub Actions in Go | ||||||||||
Contactdiscoveryservice | 275 | 2 months ago | 1 | agpl-3.0 | C | |||||
Docker Android Sdk | 247 | 3 months ago | 1 | gpl-3.0 | Dockerfile | |||||
Heroes Service | 234 | 4 years ago | 3 | July 13, 2018 | 13 | apache-2.0 | Go | |||
Short tutorial to build a blockchain application in Go with Hyperledger Fabric | ||||||||||
Android Emulator | 224 | 2 years ago | 10 | apache-2.0 | Dockerfile | |||||
Yet another Docker container with Android SDK and Android emulator |
Dockerized NativeScript and Android SDK.
Can be used for build automation and to run a docker based development environment. Based on the official Ubuntu image.
The --privileged
flag will make the USB devices of your host available to the container. That way you can run your NativeScript app on a real Android device from a docker container. Please note that you need to have USB debugging enabled. The usage of an emulator is currently not possible.
Change my-app
to your app folder location. Connect an Android device and use the following command to create and run a new NativeScript application:
docker run -it --rm --privilged \
-v /my-app/:/app \
kristophjunge/nativescript \
bash -c "tns create my-app && mv ./my-app/* ./ && rm -r ./my-app && tns platform add android && tns run android"
Note that tns create
will create a subdirectory for the application. In the example above the app folder contents will be moved up.
You can have your changes live synchronized on your device while you are developing.
Connect an Android device and run the command:
docker run -it --rm --privileged \
-v /my-app:/app \
kristophjunge/nativescript \
tns livesync android --watch
To setup your development environment with docker-compose
you can use the following snippet in a
docker-compose.yml
file:
version: '2'
services:
app:
image: kristophjunge/nativescript
privileged: true
volumes:
- "./:/app"
command: tns livesync android --watch
You don't need a connected Android device or running emulator to build an APK. You can build an APK with only NativeScript and the Android SDK or with this docker image.
Please note that you need a release key to build a signed Android APK package with NativeScript. Look here to find out how to generate a key. Read the NativeScript documentation to learn more about building for Android.
Mount your NativeScript application root directory, the directory where the final APK should be deployed and your release key.
Execute the build:
docker run --rm -it \
-v /my-app:/app \
-v /my-target-folder:/dist \
-v /my-release-key.jks:/key.jks \
kristophjunge/nativescript \
tns build android --release \
--key-store-path /key.jks \
--key-store-password SECRET_KEY_STORE_PASSWORD \
--key-store-alias KEY_ALIAS \
--key-store-alias-password SECRET_KEY_ALIAS_PASSWORD \
--copy-to /dist/release.apk
Replace SECRET_KEY_STORE_PASSWORD
,KEY_ALIAS
and SECRET_KEY_ALIAS_PASSWORD
with the values of your release key.
To suppress the usage statistics dialog of the tns
command you can prefix the command with the answer like that:
echo "n" | tns build android # ...
This project is licensed under the MIT license by Kristoph Junge.