diff --git a/extra_scripts/Dockerfile b/extra_scripts/Dockerfile index 6c64305..198e762 100644 --- a/extra_scripts/Dockerfile +++ b/extra_scripts/Dockerfile @@ -14,14 +14,21 @@ RUN apt-get update -y && \ apt-get autoclean && \ apt-get autoremove -RUN vagrant_latest_version=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version') && \ - URL="https://releases.hashicorp.com/vagrant/${vagrant_latest_version}/" && \ - HTML=$(curl -s "$URL") && \ - vagrant_pkgs=$(echo "$HTML" | grep -oE 'href="([^"]+\.deb)"' | sed -e 's/href="//' -e 's/"$//') && \ - for pkg in $vagrant_pkgs; do if echo "$pkg" | grep -q "amd64"; then deb_filename=$(basename "$pkg"); fi; done && \ - curl -O "https://releases.hashicorp.com/vagrant/${vagrant_latest_version}/${deb_filename}" && \ - chmod 777 "${deb_filename}" && \ - dpkg -i "${deb_filename}" && \ +# RUN vagrant_latest_version=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant | jq -r -M '.current_version') && \ +# URL="https://releases.hashicorp.com/vagrant/${vagrant_latest_version}/" && \ +# HTML=$(curl -s "$URL") && \ +# vagrant_pkgs=$(echo "$HTML" | grep -oE 'href="([^"]+\.deb)"' | sed -e 's/href="//' -e 's/"$//') && \ +# for pkg in $vagrant_pkgs; do if echo "$pkg" | grep -q "amd64"; then deb_filename=$(basename "$pkg"); fi; done && \ +# curl -O "https://releases.hashicorp.com/vagrant/${vagrant_latest_version}/${deb_filename}" && \ +# chmod 777 "${deb_filename}" && \ +# dpkg -i "${deb_filename}" && \ +# vagrant plugin install vagrant-libvirt && \ +# vagrant box add --provider libvirt peru/windows-10-enterprise-x64-eval && \ +# vagrant init peru/windows-10-enterprise-x64-eval + +RUN curl -O "https://github.com/hashicorp/vagrant/releases/download/2.3.8.dev%2B000032-f72cda8b/vagrant_2.3.8.dev-1_amd64.deb" && \ + chmod 777 vagrant_2.3.8.dev-1_amd64.deb && \ + dpkg -i vagrant_2.3.8.dev-1_amd64.deb && \ vagrant plugin install vagrant-libvirt && \ vagrant box add --provider libvirt peru/windows-10-enterprise-x64-eval && \ vagrant init peru/windows-10-enterprise-x64-eval