amish

Give your agent a persistent browser that you can access too with one-click DigitalOcean deployments.
git clone https://unitehenry.com/git/amish.git
Log | Files | Refs | README

commit 145d1487578ecbc384816d484ba23590b272051a
parent 5e6c0ad3701d2a6671f64d46e90002d14862e2c4
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon, 20 Jul 2026 01:44:42 +0000

feat: check if docker is installed

Diffstat:
Mscripts/deploy | 25++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/scripts/deploy b/scripts/deploy @@ -10,26 +10,25 @@ HOST=$1 ssh $HOST 'apt-get update' # Install Docker -ssh $HOST 'sudo apt update' -ssh $HOST 'sudo apt-get install -y ca-certificates curl' -ssh $HOST 'sudo install -m 0755 -d /etc/apt/keyrings' -ssh $HOST 'sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc' -ssh $HOST 'sudo chmod a+r /etc/apt/keyrings/docker.asc' - ssh $HOST ' -sudo tee /etc/apt/sources.list.d/docker.sources <<EOF +if ! command -v docker >/dev/null 2>&1; then + sudo apt update + sudo apt-get install -y ca-certificates curl + sudo install -m 0755 -d /etc/apt/keyrings + sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc + sudo chmod a+r /etc/apt/keyrings/docker.asc + sudo tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: $(. /etc/os-release && echo "$VERSION_CODENAME") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc -EOF' - -ssh $HOST 'sudo apt update' - -ssh $HOST 'sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin' - +EOF + sudo apt update + sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +fi +' # Build and Load Xpod rm -rf xpod && git clone 'https://github.com/unitehenry/xpod'