Skip to content
Snippets Groups Projects
  • Sam Weston's avatar
    4ac3278f
    Add ARM64 Builds (#15) · 4ac3278f
    Sam Weston authored
    * Add ARM64 builds
    
    * Move to a go-cron fork with arm64 support
    
    * Use TARGETARCH directly in the script
    
    * Use buildkit for docker build in readme
    Add ARM64 Builds (#15)
    Sam Weston authored
    * Add ARM64 builds
    
    * Move to a go-cron fork with arm64 support
    
    * Use TARGETARCH directly in the script
    
    * Use buildkit for docker build in readme
install.sh 563 B
#! /bin/sh

set -eux
set -o pipefail

apk update

# install pg_dump
apk add postgresql-client

# install gpg
apk add gnupg

apk add python3
apk add py3-pip  # separate package on edge only
pip3 install awscli

# install go-cron
apk add curl
curl -L https://github.com/ivoronin/go-cron/releases/download/v0.0.5/go-cron_0.0.5_linux_${TARGETARCH}.tar.gz -O
tar xvf go-cron_0.0.5_linux_${TARGETARCH}.tar.gz
rm go-cron_0.0.5_linux_${TARGETARCH}.tar.gz
mv go-cron /usr/local/bin/go-cron
chmod u+x /usr/local/bin/go-cron
apk del curl


# cleanup
rm -rf /var/cache/apk/*