docker-images
docker-images copied to clipboard
Using openjdk:8-jdk-slim-buster to support ARM64 in base image
Using buster base image to support ARM64 as well
@deicon Hey, are you able to run for example "gradle buildServer5.1.30Image" on this branch? It keeps complaining about various stuff on my M1.
@KamilPostrozny Yes I was. In fact to build the image you need to use a X86 JDK. In order to be able to install it with sdkman, temporarily activate rosetta for it
Edit init file $HOME/.sdkman/etc/config
set property sdkman_rosetta2_compatible=true
source $HOME/.sdkman/bin/sdkman-init.sh
After that, you should be seeing the relevant JDKs in sdkman and install it.
sdk use java 11.0.2-open
Using java version 11.0.2-open in this shell.
❯ ./gradlew buildServer5.1.30Image
works for me
I was also only able to use gradle 5.4.1 for this. Did not investigate the root cause.
Successfully built c15e1ed900bf
Successfully tagged datastax/dse-server:5.1.30
Created image with ID 'c15e1ed900bf'.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 2m 30s
3 actionable tasks: 3 executed
The images, built using this approach are used here at many developer machines w/o issues
This can be closed I assume ?