Docker-alpine: equivalent repos from ubuntu in alpine

Created on 13 Jun 2017  Â·  4Comments  Â·  Source: gliderlabs/docker-alpine

Hi

I have an ubuntu image that is kind of a monster (1.4gb) and i need to reduce it a bit

However, i need to install some python dependencies, and oracle java as well

RUN apt-get install -y python-pip python-dev build-essential libssl-dev libffi-dev
RUN apt-get install -y software-properties-common && \
add-apt-repository ppa:webupd8team/java -y && \
apt-get update && \
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
apt-get install -y oracle-java8-installer && \
apt-get clean

What would be the equivalent to this in alpine?

Thanks

question

Most helpful comment

Oracle is working on official support for Alpine Linux (and musl libc). You can test the JDK 9 Early-Access build for Alpine: http://jdk.java.net/9/

All 4 comments

Oracle Java will be a blocker if you cannot run on OpenJDK. There is no Oracle Java in Alpine.

Fck

Any chances of including this in a future alpine release ?

Thanks

On Tue, Jun 13, 2017 at 4:58 PM, Andy Shinn notifications@github.com
wrote:

Oracle Java will be a blocker if you cannot run on OpenJDK. There is no
Oracle Java in Alpine.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gliderlabs/docker-alpine/issues/295#issuecomment-308164401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMK55gkePE2QOiAC17Xaohw8vPsExjgaks5sDrGkgaJpZM4N4Kok
.

That is up to Oracle, not Alpine. Oracle needs to support the musl libc library instead of just glibc. The thread available on that topic already is #11.

Oracle is working on official support for Alpine Linux (and musl libc). You can test the JDK 9 Early-Access build for Alpine: http://jdk.java.net/9/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dinogun picture dinogun  Â·  3Comments

dniku picture dniku  Â·  4Comments

rmNyro picture rmNyro  Â·  4Comments

filiptodoric picture filiptodoric  Â·  3Comments

u6f6o picture u6f6o  Â·  4Comments