#!/usr/bin/env sh set -e # Get prerequisites for building the app (cd $(go env GOPATH) && curl -sL https://taskfile.dev/install.sh | sh) # Compile and build task deps set +e task compile set -e task build:local mv ./bin/semaphore /usr/local/bin/ chown 1001:0 /usr/local/bin/semaphore chmod +x /usr/local/bin/semaphore mv ./deployment/docker/common/semaphore-wrapper /usr/local/bin/semaphore-wrapper chown 1001:0 /usr/local/bin/semaphore-wrapper