Automating builds
This recipe joins together all the previous recipes in this chapter. Prepared virtual machine images and SSH with key authentication will allow us to build OpenJDK in fully automated mode using simple bash scripts without additional tools.
Getting ready
For this recipe, we will require a Linux or Mac OS host machine running.
How to do it...
The following procedure will help us to prepare the Windows virtual machine:
- Prepare SSH keys as described in the Preparing SSH keys recipe in this chapter.
- Set up the VirtualBox installation and its network settings as described in the Installing VirtualBox recipe in this chapter.
- Prepare the virtual machine images as described in the previous recipes in this chapter.
- For each VM image, prepare a ...
Get OpenJDK Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.