docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

ia32-libs support

Open rpau opened this issue 8 years ago • 4 comments

Hi,

I am creating a Dockerfile FROM iron/base adding the Android development tools. However, I get the same error than https://groups.google.com/forum/#!topic/android-developers/fBhcq6FZGXI

Unable to run 'adb': Cannot run program "/opt/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2

And the answer is to install ia32-libs. How can I do it with alpine?

Thank you in advance!

rpau avatar May 05 '16 20:05 rpau

I don't see any package for it. What does it do? Where is the upstream project living?

andyshinn avatar May 05 '16 22:05 andyshinn

see this SO question

TL;DR, The core problem is how to run 32-bit program in 64-bit alpine?

jk2K avatar Aug 31 '16 02:08 jk2K

+1 here - it doesn't seem that it is possible to build android currently on alpine

mbrevda avatar Dec 29 '16 16:12 mbrevda

I had the same problem and went back to an Ubuntu image for building Android apps.

However today I came across the following image and managed to build my own Android development image based on Alpine following the same approach (openjdk:8-alpine + alpine-pkg-glibc): https://hub.docker.com/r/alvrme/alpine-android/~/dockerfile/

pocmo avatar Mar 23 '18 13:03 pocmo