#!/usr/bin/env bash set -euxo pipefail pushd /tmp export DEBIAN_FRONTEND=noninteractive apt-get update (yes || true) | unminimize apt-get install -y curl gnupg lsb-release curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - ubuntu_ver="$(lsb_release -rs)" ubuntu_name="$(lsb_release -cs)" node_repo="node_14.x" tee -a /etc/apt/sources.list.d/custom.list >/dev/null </dev/null <<"EOF" %sudo ALL=(ALL:ALL) NOPASSWD: ALL EOF popd rm "$0"