Skip to content

Instantly share code, notes, and snippets.

@sdesalas
Last active July 23, 2024 18:14
Show Gist options
  • Save sdesalas/25f659b176fc5325f2a19741252a3f8c to your computer and use it in GitHub Desktop.
Save sdesalas/25f659b176fc5325f2a19741252a3f8c to your computer and use it in GitHub Desktop.
Run as root
#! /bin/sh
# 1. Install Docker CE
curl -fsSL https://raw.githubusercontent.com/sdesalas/docker-install/master/install.sh -o ~/install-docker.sh
chmod + x ~/install-docker.sh
./install-docker.sh
# 2. Install Caddy
apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list
apt update
apt install caddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment