fix: Pin version of rebar3

Pin version of rebar3 to v3.13

Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I975c72a86a120ddc677f7045ef1dc2a015a13464
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 7711998..6914ffa 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -237,6 +237,13 @@
       git:
         repo: 'https://github.com/erlang/rebar3.git'
         dest: /tmp/rebar3
+        version: v3.13
+      when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu'
+
+    - name: Bootstrap rebar3
+      command: ./bootstrap
+      args:
+        chdir: /tmp/rebar3
       when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu'
 
     - name: Install rebar3 to bin