From 461bf9c7417f4d4130d39ba42ff20de8c2449cef Mon Sep 17 00:00:00 2001 From: Mark Elvers Date: Fri, 15 Nov 2024 14:39:57 +0000 Subject: [PATCH] Add opam 2.3 and include FreeBSD version number in image name --- roles/base-image/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/base-image/tasks/main.yml b/roles/base-image/tasks/main.yml index d93aa97..ec7f39d 100644 --- a/roles/base-image/tasks/main.yml +++ b/roles/base-image/tasks/main.yml @@ -1,7 +1,7 @@ --- - set_fact: - base_image: "freebsd-ocaml-{{ version.split('.')[:2] | join('.') }}" + base_image: "freebsd-14.1-ocaml-{{ version.split('.')[:2] | join('.') }}" when: version != "busybox" - set_fact: @@ -68,7 +68,7 @@ git config --global user.name "Your Name" curl -s https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh -o install.sh chmod +x install.sh - for version in 2.1.6 2.2.1 dev ; do + for version in 2.1.6 2.2.1 2.3.0 dev ; do if [ "$version" = "dev" ] ; then ./install.sh --dev --download-only else