Giter Club home page Giter Club logo

dockerfiles's People

Contributors

tcharlat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dockerfiles's Issues

phone not showing up in `adb deviced`

After connecting my phone to my laptop with a usb i run this command but the phone is not showing up:
docker run -it --rm --privileged -v /dev/bus/usb:/dev/bus/usb -v $PWD:/src kallikrein/android-cordova adb devices

(i am on ubuntu, no need for boot2docker)

On OS-X, the android sdk tool hangs and spins CPU

Using

  • VirtualBox either 5.0.12 or 5.0.14
  • Docker version 1.9.1, build a34a1d5
  • OS-X 10.9.5

Setup:

docker run --rm -ti kallikrein/cordova:5.1.1
apt-get update && \
apt-get install -y lib32stdc++6 lib32z1
# download and extract android sdk
curl http://dl.google.com/android/android-sdk_r24.2-linux.tgz | tar xz -C /usr/local/
export ANDROID_HOME=/usr/local/android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

This next command hangs and spins on 100% cpu and the docker container is unkillable:

/usr/local/android-sdk-linux/tools/android --help

Actually, no matter what arguments are supplied, the command above hangs, spinning CPU.

I suspect this is caused by or at least related to this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1533043

Is there any quick change to the cordova:5.1.1 image that could work around this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.