Skip to content

Creates virtualbox and vmware Vagrant boxes for Elixir and Phoenix development based on Ubuntu 14.04 trusty (x86_64).

Notifications You must be signed in to change notification settings

percygrunwald/packer-elixir-phoenix-ubuntu-trusty64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-elixir-phoenix-centos7

Creates virtualbox and vmware boxes for Elixir and Phoenix development based on Ubuntu 14.04 (trusty).

Based on Jeff Geerling's packer-ubuntu-1404.

Current Ubuntu Version Used: 14.04.4

Installed software

All the software required for Phoenix development.

  • Erlang 19.0
  • Elixir 1.3.4
    • Hex (latest)
    • Rebar (latest)
    • Phoenix (latest)
  • PostgreSQL 9.4 (user: postgres, password: postgres)
  • Node.js 5.x

Generates two Vagrant box files, for:

  • VirtualBox
  • VMware

The example can be modified to use more Ansible roles, plays, and included playbooks to fully configure (or partially) configure a box file suitable for deployment for development environments.

Requirements

The following software must be installed/present on your local machine before you can use Packer to build the Vagrant box file:

Usage

Make sure all the required software (listed above) is installed, then cd to the directory containing this README.md file, and run:

$ packer build elixir-phoenix-ubuntu-trusty64.json

After a few minutes, Packer should tell you the box was generated successfully.

If you want to only build a box for one of the supported virtualization platforms (e.g. only build the VMware box), add --only=vmware-iso to the packer build command:

$ packer build --only=virtualbox-iso elixir-phoenix-ubuntu-trusty64.json
$ packer build --only=vmware-iso elixir-phoenix-ubuntu-trusty64.json    

About

Creates virtualbox and vmware Vagrant boxes for Elixir and Phoenix development based on Ubuntu 14.04 trusty (x86_64).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages