https://github.com/savvydatainsights/ubuntu
Ubuntu base image provisioned mainly with Docker and Java
https://github.com/savvydatainsights/ubuntu
ansible apache-maven apache-spark azure azure-image docker docker-compose java openjdk packer ubuntu vagrant vagrant-box
Last synced: 5 months ago
JSON representation
Ubuntu base image provisioned mainly with Docker and Java
- Host: GitHub
- URL: https://github.com/savvydatainsights/ubuntu
- Owner: savvydatainsights
- License: mit
- Created: 2018-08-16T08:55:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T13:43:49.000Z (almost 7 years ago)
- Last Synced: 2025-06-04T11:36:25.034Z (about 1 year ago)
- Topics: ansible, apache-maven, apache-spark, azure, azure-image, docker, docker-compose, java, openjdk, packer, ubuntu, vagrant, vagrant-box
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ubuntu
[](https://opensource.org/licenses/MIT) []() [](https://travis-ci.org/savvydatainsights/ubuntu)
Custom Ubuntu image, built from Ubuntu 18.04 LTS, and provisioned with:
- [Docker](https://www.docker.com)
- [docker-compose](https://docs.docker.com/compose)
- [OpenJDK](https://openjdk.java.net)
- [Apache Maven](https://maven.apache.org)
- [Apache Spark](https://spark.apache.org)
- [Mozilla Firefox](https://www.mozilla.org)
- [LDAP Utils](https://wiki.debian.org/LDAP/LDAPUtils)
## Requirements
The provision process is performed by [Ansible](https://www.ansible.com). Install it upfront.
## Vagrant box
For creating the Vagrant box, first of all, install [Vagrant](https://www.vagrantup.com), 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](https://www.vagrantup.com/docs/vagrant-cloud/users/authentication.html#authentication-tokens).
## Azure image
For creating the Azure image, first of all, install [Packer](https://www.packer.io), 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`