Skip to content

Commit ddd2ff7

Browse files
author
Maik Hummel
committed
Update README
1 parent 64df137 commit ddd2ff7

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

README.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,39 @@
1010

1111
# Android 11.0
1212
### based on [beevelop/java](https://github.com/beevelop/docker-java)
13-
- Java 8
13+
- Java 8 (OpenJDK 1.8.0_282)
1414
- Gradle 4.4.1 (Groovy: 2.4.16)
1515
- Apache Maven 3.6.3
1616
- Ant 1.10.7
1717

18-
### Pull from Docker Hub
19-
```
20-
docker pull beevelop/android:latest
21-
```
18+
### Pull, build or run this image
19+
```bash
20+
# pull the most recent tag / release
21+
docker pull beevelop/android:v2021.06.1
2222

23-
### Build from GitHub
24-
```
25-
docker build -t beevelop/android github.com/beevelop/docker-android
26-
```
23+
# or run the image interactively
24+
docker run --rm --name beevelop -it beevelop/android:v2021.06.1 bash
2725

28-
### Run image
29-
```
30-
docker run -it beevelop/android bash
26+
# or build the image from GitHub
27+
docker build -t beevelop/android github.com/beevelop/docker-base
3128
```
3229

33-
### Use as base image
30+
### Or use as base image
3431
```Dockerfile
35-
FROM beevelop/android:latest
32+
FROM beevelop/android:v2021.06.1
3633
```
3734

38-
----
35+
## Maintenance
36+
- [Command Line Tools Download](https://developer.android.com/studio#span-idcommand-toolsa-namecmdline-toolsacommand-line-tools-onlyspan)
37+
- List build-tools versions: `sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --list | grep build-tools`
38+
- List platforms: `sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --list | grep 'platforms:'`
39+
40+
---
41+
42+
![Beevelop's Docker Image Hierarchy](https://gist.githubusercontent.com/beevelop/b0cddab7209a683c77560d06ff00bc8e/raw/15429ee1d02e2c4dc019b760ca8c7ceff5911b82/hierarchy.png)
43+
44+
---
45+
46+
### Use tags where possible, because...
3947

4048
![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)

0 commit comments

Comments
 (0)