#!/bin/bash # # See `box` file for more details. profile_minimal() { apt-get install -y neovim git curl wget } profile_nodejs() { apt-get install -y curl curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - apt-get install -y nodejs } profile_docker() { apt-get install -y ca-certificates curl gnupg install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg chmod a+r /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \ https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" \ > /etc/apt/sources.list.d/docker.list apt-get update apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin } profile_default() { profile_minimal profile_nodejs profile_docker }