Last active
July 23, 2024 18:14
-
-
Save sdesalas/25f659b176fc5325f2a19741252a3f8c to your computer and use it in GitHub Desktop.
Run as root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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