Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zalari/vagrant-ubuntu-java-docker
Ubuntu 14.04 base box with current docker + java 8
https://github.com/zalari/vagrant-ubuntu-java-docker
Last synced: about 2 months ago
JSON representation
Ubuntu 14.04 base box with current docker + java 8
- Host: GitHub
- URL: https://github.com/zalari/vagrant-ubuntu-java-docker
- Owner: zalari
- License: mit
- Created: 2016-02-01T18:22:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-11T15:49:17.000Z (almost 9 years ago)
- Last Synced: 2024-03-15T04:02:44.670Z (10 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vagrant-ubuntu-java-docker
Ubuntu 14.04 vagrant base box with current Docker + Java 8# Usage
```
./make_box.sh
```
This will use the ubuntu/trusty64 base box, run the [bootstrap shell script](bootstrap/bootstrap.sh) and provision a current Docker engine, along with docker-compose and a recent Java 8 installation and finally do some tricks, to reduce the image size.A resulting **ubuntu-java-docker.box** will be created; use this as you wish...
# Troubleshooting
As the base box is 40G and the free space gets cleared by writing /dev/null to the disk, you need +40G free space and a fast disk, otherwise it might take some time... (i.e. an hour).Sometimes the Oracle download site for Java is verrrrrrrrry slow, retry at a later time (actually this was the motivation for building this base box in the beginning)!
A lot of stuff is fetched from the internet (~1G on first run), so you should have a decent (i.e. fast) connection.
Some magic is required to re-enable the VirtualBox Guest additions after Docker has been installed, an error message about failed mount is expected behaviour - do not worry!
# Security
Provisioning is done with the [bootstrap shell script](bootstrap/bootstrap.sh), have a look at it when in doubt. Your personal vagrant ssh key will be embedded into the base box, however a recent Vagrant fixes this issues upon first start.# TODO
* make docker-compose version configurable
* convert to packer.io goodness
* optimize image sizePRs are welcome!