Docker image build on top of phusion/baseimage
Docker registry link: https://hub.docker.com/u/xiaogaozi/basedevimage
- All phusion/baseimage provide things
build-essential
package- Puppet
- Git
app
user
There's an example Vagrantfile
:
Vagrant.configure("2") do |config|
config.vm.provider "docker" do |d|
d.cmd = ["/sbin/my_init", "--enable-insecure-key"]
d.image = "xiaogaozi/basedevimage"
d.has_ssh = true
end
config.ssh.username = "root"
config.ssh.private_key_path = "phusion.key"
end
FROM xiaogaozi/basedevimage:<VERSION>
...
$ vagrant up
$ vagrant ssh
$ cd /vagrant
$ make