install.sh
AArch64 (ARM64) architecture stringReferences curl flags and HTTP URL
SHA-2567c253ad88e0c31e6aa23a368fe8c95cf86fa260b707423917aaaa882f53008ee
Evidence
1#!/bin/sh
2# Zoomies installer -- off the lead, on the job.
3#
4# curl -fsSL https://zoomies.sh/install.sh | sh
5#
6# It is also perfectly safe to download and read this first, which is the
7# recommended way:
8#
9# curl -fsSLO https://zoomies.sh/install.sh && less install.sh && sh install.sh
10#
11# What it does, in order:
12# 1. works out your OS, architecture, container runtime, compose command and
13# init system
14# 2. downloads the right binary and ve …
14:47… its SHA-256 against the
15# published checksums file
16# 3. installs it to /usr/local/bin
17# 4. hands off to `zoomies init`, which does the interactive setup and can
18# deploy Zoomies three ways:
19#
20# native the binary under systemd (or launchd), which is the leanest
21# option and the one that needs no container runtime at all
22# compose a docker-compose.yml and a fully populated .env, brought up
23# with `docker compose up -d`
24# docker a single `docker run` container with an env file
25#
26# Either way `zoomies init` does the rest: service user, directories,
27# encryption key, backend, the GitHub App, and your admin account. It
28# …
28:36… is reached: loopback, a certificate you
29# have, a self-signed one, or a reverse proxy.
30#
31# Behind Cloudflare, pick "Cloudflare in front" (or put
32# `trusted_proxies: [cloudflare]` in the answer file): TLS stays off
33# here, Cloudflare's published ranges a …
41:45… h dash and shellcheck in CI.
42
43set -eu
44
45VERSION="${ZOOMIES_VERSION:-latest}"
46VERSION_GIVEN=0
47[ "${ZOOMIES_VERSION+x}" = x ] && VERSION_GIVEN=1
48REPO="${ZOOMIES_REPO:-eyupio/zoomies}"
49PREFIX="${ZOOMIES_PREFIX:-/usr/local/bin}"
50BASE_URL="${ZOOMIES_BASE_URL:-https://github.com/${REPO}/releases}"
51# The release signing key, base64, exactly the line `zoomies release keygen`
52# writes to release.pub. When it …
52:41… and openssl is here, a download is held
53# to the signature over checksums.txt before the checksum is believed. Empty
54# until the owner mints a key (docs/upgrading.md, Signing releases); a test
55# keeps it e …