Dockerfile for Android with Kotlin
Docker file for Android with Ubuntu base image, OpenJdk 8, Android SDK and Fastlane.
https://hub.docker.com/r/bilueandroid/android-kotlin/tags/
- List the contents of the curent folder on your Mac to make sure you're building an image that contains everything you want.
ls -l
Dockerfile
README.md
license_accepter.sh
- Build the image giving it a meaningful name
docker build -t android-kotlin .
- Login to Docker Hub - username is bilueandroid. Get password from 1Password.
docker login
- Tag the image with a version number (1.2.3. in this case)
docker tag android-kotlin bilueandroid/android-kotlin:1.2.3
- Push the image to Docker Hub.
docker push bilueandroid/android-kotlin:1.2.3
- Update any pipline.yaml files that may use the image.
image: "bilueandroid/android-kotlin:1.2.3"