Install Docker in regular builder 67/92167/1
authorThanh Ha <zxiiro@gmail.com>
Sat, 15 Aug 2020 01:26:50 +0000 (21:26 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 15 Aug 2020 01:26:50 +0000 (21:26 -0400)
commit641ce9f1f91117db7b64c9957a6f73097cc7235f
tree88a90634e2c6587fcba35c755a713186bae23607
parent21f4ebe04b81b2a2f43675984aba88dfa215144c
Install Docker in regular builder

Considering that many projects are utilizing Docker now and the only
real difference between the "docker" template and the "builder"
template is whether or not they have docker installed. Let's just
consolidate the 2 image types into a single "builder" one and reduce
the number of special images we are managing.

This also configures the vm flavor packer uses to build to v2-highcpu-4
to make our packer builds faster. We used limit to the lowest size
to ensure that the smallest volume is used however considering we are
explicitly passing a vm_volume_size parameter now let's not limit
ourselves to the CPU size of our build system.

Change-Id: I116ab774b27ddedd5bf55746eb2cf067256797e0
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
packer/provision/local-builder.yaml
packer/templates/builder.json [changed from symlink to file mode: 0644]