Skip to content

Ubuntu base image provisioned mainly with Docker and Java

License

Notifications You must be signed in to change notification settings

savvydatainsights/ubuntu

Repository files navigation

Ubuntu

License: MIT GitHub release Build status

Custom Ubuntu image, built from Ubuntu 18.04 LTS, and provisioned with:

Requirements

The provision process is performed by Ansible. Install it upfront.

Vagrant box

For creating the Vagrant box, first of all, install Vagrant, and then run:

./build-and-deploy.sh

The deployment step requires the environment variable VAGRANT_CLOUD_TOKEN. To set it, you must have defined a token in Vagrant Cloud.

Azure image

For creating the Azure image, first of all, install Packer, and then follow the steps:

  1. Create the resource group myResourceGroup in Azure
  2. Create a service principal in Azure with permission to create resource groups
  3. Set the environment variables AZURE_CLIENT_ID, AZURE_SECRET, AZURE_SUBSCRIPTION_ID and AZURE_TENANT with the service principal authentication info
  4. Build the Ubuntu image myUbuntuImage in the resource group myResourceGroup by executing packer build azure.json