Add graphviz and pandoc to CI image
Change-Id: I8e904d6b742c9250506a488829b2436d161a5e92
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index 759013f..76ab691 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -92,6 +92,7 @@
ethtool \
git \
golang-1.12-go \
+ graphviz \
httpie \
jq \
kafkacat \
@@ -268,6 +269,14 @@
mv /tmp/hadolint /usr/local/bin/hadolint
chmod -R a+rx /usr/local/bin/hadolint
+ # install pandoc (document converter)
+ PANDOC_VERSION="2.8.0.1"
+ PANDOC_SHA256SUM="81cca90353dced1e285888b73f2bee55ed388d34b6b0624d76a2eba2344eaba9"
+ curl -L -o /tmp/pandoc.deb "https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb"
+ echo "$PANDOC_SHA256SUM /tmp/pandoc.deb" | sha256sum -c -
+ dpkg -i /tmp/pandoc.deb
+ rm -f /tmp/pandoc.deb
+
# remove apparmor
service apparmor stop
update-rc.d -f apparmor remove