Open ehudkaldor opened 8 years ago
My edge
build environment does not have an openjdk
- the simplest solution is to just manually unpack the Debian package
I am not such a Linux expert, but it seems unpacking it is not enough. But the scripts in control are Debian centric, using dpkg and such. Any advice?
On Wed, Jan 6, 2016, 13:11 Stuart Cardall notifications@github.com wrote:
My edge build environment does not have an openjdk - the simplest solution is to just manually unpack the Debian package https://packages.debian.org/sid/all/ca-certificates-java/download
— Reply to this email directly or view it on GitHub https://github.com/itoffshore/alpine-linux-scripts/issues/3#issuecomment-169462301 .
Download the deb file & unpack it with xarchiver
- then unpack data.tar.xz
within the archive to give you:
/etc/ca-certificates/update.d/jks-keystore
/etc/default/cacerts
/usr/share/ca-certificates-java/ca-certificates-java.jar
/usr/share/doc/ca-certificates-java/NEWS.Debian.gz
/usr/share/doc/ca-certificates-java/README.Debian
/usr/share/doc/ca-certificates-java/changelog.gz
/usr/share/doc/ca-certificates-java/copyright
Alpine has the same /etc/ca-certificates/update.d
file structure.
Let me know if it works for you.
Alpine 3.3.2 introduces the java-cacerts
package. You might need to symlink the cacerts from ssl, so you can now just do:
$ apk add java-cacerts
$ rm /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts
$ ln -s /etc/ssl/certs/java/cacerts /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts
Many thanks for letting me know.
java-cacerts
is a dependency now of openjdk8
I just noticed elasticsearch
is available too (needed for the WAF in nginx-naxsi
).
hi, i saw a comment you put in github, saying you will package ca-certificate-java for Alpine. is it done yet? i cannot find it in Alpine packages, and it is blocking me from running TypeSafe Activator on Alpine.