Repository: tailhook/vagga (language: rust)

Issue:
LetsEncrypt root cert expiration errors in ubuntu container builds
```
ERROR: could not open HSTS store. HSTS will be disabled.
--2021-10-04 11:25:04--  https://partner-images.canonical.com/core/focal/current/ubuntu-focal-core-cloudimg-amd64-root.tar.gz
Resolving partner-images.canonical.com... 91.189.88.147
Connecting to partner-images.canonical.com|91.189.88.147|:443... connected.
ERROR: cannot verify partner-images.canonical.com's certificate, issued by 'CN=R3,O=Let\'s Encrypt,C=US':
  Issued certificate has expired.
To connect to partner-images.canonical.com insecurely, use `--no-check-certificate'.
ERROR 2021-10-04T11:25:04Z: vagga::capsule::download: Error downloading "https://partner-images.canonical.com/core/focal/current/ubuntu-focal-core-cloudimg-amd64-root.tar.gz", wget Exited(5)
```


Discussion / hints:

Fix patch:
diff --git a/fetch_binaries.sh b/fetch_binaries.sh
index 584e7b83..0cd92aff 100755
--- a/fetch_binaries.sh
+++ b/fetch_binaries.sh
@@ -1,21 +1,21 @@
 #!/bin/sh -ex
-ALPINE_VERSION=v3.8
+ALPINE_VERSION=v3.14
 ALPINE_MIRROR=http://dl-cdn.alpinelinux.org/alpine/
-APK_TOOLS=apk-tools-static-2.10.1-r0.apk
-BUSYBOX=busybox-static-1.28.4-r3.apk
-ALPINE_KEYS=alpine-keys-2.1-r1.apk
+APK_TOOLS=apk-tools-static-2.12.7-r0.apk
+BUSYBOX=busybox-static-1.33.1-r3.apk
+ALPINE_KEYS=alpine-keys-2.3-r1.apk
 
 ARCH=${1:-x86_64}
 
 SHA1SUMS_x86_64="\
-6a669b68be304249d5d3398b8db2cc5cc23674bf  $APK_TOOLS
-9538e3a393d1e39e55037ab10187c48f43ec971f  $BUSYBOX
-4dd03fa0dfeefdd81ac13d77e0d3ed069821de33  $ALPINE_KEYS"
+8799d473cab14110bc76ddcb40117a2aa1af0f52  $APK_TOOLS
+a0b8d2ca9da5d9d0e89c51031ca3df9ee3da2482  $BUSYBOX
+a2ed0478b872f5fdca6dc4c9f5cbcbe5624a2ef2  $ALPINE_KEYS"
 
 SHA1SUMS_armhf="\
-b30f18f5743d13f1845577e98e629a93c49212a4  $APK_TOOLS
-63093a34579a68b95d13a3f44149babb2b0f07bc  $BUSYBOX
-a10caf9d8162d5ca16fc77729cfebf9c79d8c87b  $ALPINE_KEYS"
+98174a1408561462ca6fccfc2b6870e982a6a66d  $APK_TOOLS
+1e14b8eb57cca5ad96a04a5c5a1420606d9b9dd2  $BUSYBOX
+1b9e1fd274ea018749d105c36e854df0ca1dc161  $ALPINE_KEYS"
 
 FETCH_DIR="alpine/"$ARCH
 mkdir -p "$FETCH_DIR" 2>/dev/null || true
diff --git a/src/builder/commands/alpine.rs b/src/builder/commands/alpine.rs
index d7a80097..217e850f 100644
--- a/src/builder/commands/alpine.rs
+++ b/src/builder/commands/alpine.rs
@@ -20,7 +20,7 @@ use config::version::Version;
 use builder::dns::revert_name_files;
 
 
-pub static LATEST_VERSION: &'static str = "v3.5";
+pub static LATEST_VERSION: &'static str = "v3.14";
 static ALPINE_VERSION_REGEX: &'static str = r"^v\d+.\d+$";
 
 const VERSION_WITH_PHP5: &'static str = "v3.4";


Test patch: