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

Replace Bash builds with Gradle

Open phreed opened this issue 3 years ago • 0 comments

The main motivation is to allow building on Windows. bash is flaky on Windows. Gradle works across platforms and has Docker plugins.

The affected files are:

  • build-images.sh
  • push-images.sh
  • test-image.sh
  • update.sh

The scripts used by the container would not be modified, i.e.

  • docker-entrypoint.sh
  • load-initialdb.sh

The recommended tool for building a container for a java application is

  • https://github.com/GoogleContainerTools/jib

Other candidate plugins

  • https://github.com/palantir/gradle-docker : require that docker be installed.
  • https://github.com/bmuschko/gradle-docker-plugin : uses the docker remote api.

phreed avatar Jun 16 '22 20:06 phreed