Skip to content

Creates virtualbox and vmware Vagrant boxes for Elixir and Phoenix development based on CentOS 7 (x86_64).

Notifications You must be signed in to change notification settings

percygrunwald/packer-elixir-phoenix-centos7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-elixir-phoenix-centos7

Creates virtualbox and vmware boxes for Elixir and Phoenix development based on CentOS 7.

Based on Jeff Geerling's packer-centos-7.

Current CentOS Version Used: 7.2

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

This example build configuration installs and configures CentOS 7 x86_64 minimal using Ansible, and then 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-centos7.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 centos7.json
$ packer build --only=vmware-iso centos7.json    

About

Creates virtualbox and vmware Vagrant boxes for Elixir and Phoenix development based on CentOS 7 (x86_64).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages