Skip to content

mhiew/circle-ci-docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This android docker image is based off https://github.com/circleci/circleci-images.
It has been modified to just produce android docker images.
The goal of this forked repo is to create an android docker image with android emulator support

How to create the docker image:
1) $make -f Makefile
2) $cd android/images
3) select which android api version you want. (ie. $cd android/images/api-26-alpha)
4) $docker build -t {dockerhub-account-name}/{repo-name}:tag <path-to-dockerfile>
ie. within the /images/api-26-alpha folder  $docker build -t minhiew/circleci:0.0.1 .

How to modify the android image
1) cd android
2) modify Dockerfile.m4
3) run "How to create docker image" steps again

How to test the created docker image
1) view list of local docker images using: $docker images
2) run docker so that you can access it and use shell: $docker run -idt --name {container-name} {docker-image}
ie. $docker run -idt --name test minhiew/circleci:0.0.1 
3) attach to the docker container: $docker attach {container-name}
ie. $docker attach test

How to upload the docker file to dockerhub so that it is useable by circle-ci
1) follow instructions here:  https://circleci.com/docs/2.0/custom-images/

ie:
$ docker login
$ docker push minhiew/circleci:0.0.1

About

test android docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published