# install basic dependencies
sudo apt install -y make openjdk-11-jre-headless apt-transport-https ca-certificates curl gnupg jq software-properties-common build-essential
+# If you have a issue with Let's Encrypt certificate when cloning repo due to DST Root CA X3 Expiration:
+# https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
+# remove outdated certificate from system
+sudo rm -rf /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt
+# update ca-certificates
+sudo update-ca-certificates --fresh --verbose
+
# set versions of various things for NSM for visibility and ease of maintenance
-DOCKER_CE_VERSION="5:20.10.5~3-0~ubuntu-bionic"
-DOCKER_CE_CLI_VERSION="5:20.10.5~3-0~ubuntu-bionic"
-CONTAINERD_IO_VERSION="1.4.4-1"
-GO_VERSION="1.16.4"
-GO_LINT_VERSION="1.39.0"
+DOCKER_CE_VERSION="5:20.10.17~3-0~ubuntu-bionic"
+DOCKER_CE_CLI_VERSION="5:20.10.17~3-0~ubuntu-bionic"
+CONTAINERD_IO_VERSION="1.6.6-1"
+GO_VERSION="1.19"
+GO_LINT_VERSION="1.47.2"
FOSSA_CLI_VERSION="1.1.7"
# install docker-ce, docker-ce-cli, containerd.io and mark them hold