Skip to content

Commit 97b4397

Browse files
committed
setting up a docker image for android sdk
1 parent c6a9164 commit 97b4397

File tree

2 files changed

+72
-2
lines changed

2 files changed

+72
-2
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM globdev/java:8
2+
3+
# Installs Android SDK
4+
RUN apt-get update \
5+
&& apt-get install -y android-sdk
6+
7+
# Clean up
8+
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
9+
&& apt-get autoremove -y \
10+
&& apt-get clean

README.md

+62-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,62 @@
1-
# docker-android
2-
Personal Android docker image base my personal Java docker image
1+
Docker Android
2+
============
3+
4+
#### Summary
5+
6+
Repository name in Docker Hub: **[globdev/android](https://registry.hub.docker.com/u/globdev/android/)**
7+
8+
This repository contains Dockerized [Android SDK](https://developer.android.com/develop/index.html) 2.24, published to the public [Docker Hub](https://registry.hub.docker.com/) via **automated build** mechanism.
9+
10+
#### Configuration
11+
12+
This docker image contains the following software stack:
13+
14+
- OS: Debian stretch (built from [debian:stretch](https://registry.hub.docker.com/_/debian/)).
15+
16+
- Java: Oracle JDK 1.8.0_151-b12
17+
18+
- Android SDK 25.0.0+5
19+
20+
21+
#### Dependencies
22+
23+
- [debian:stretch](https://registry.hub.docker.com/_/debian/)
24+
25+
- [globdeb/java:8](https://registry.hub.docker.com/u/globdev/java/)
26+
27+
28+
#### Installation
29+
30+
```
31+
$ docker pull globdev/android
32+
```
33+
34+
#### Usage
35+
36+
##### Use as base image
37+
38+
```Dockerfile
39+
FROM globdev/android
40+
```
41+
42+
##### Pull from Docker Hub
43+
44+
```
45+
docker pull globdev/android
46+
```
47+
48+
##### Build from GitHub
49+
50+
```
51+
docker build -t globdev/android github.com/glob-dev/docker-android
52+
```
53+
54+
##### Run image
55+
56+
```
57+
docker run -it globdev/android bash
58+
```
59+
60+
#### Disclaimer
61+
62+
By using Dockerfiles contained in this repo and/or container images derived from them, you are agreeing to any and all applicable license agreements & export rules related to unlimited strength crypto, etc...

0 commit comments

Comments
 (0)