From 8a720c328a88d73eff0f36b4f7a76b7d65490efa Mon Sep 17 00:00:00 2001 From: Gabriel David Pragin Date: Wed, 12 Feb 2025 22:57:58 -0800 Subject: [PATCH] add server build code (#2327) --- ct/authentik.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ct/authentik.sh b/ct/authentik.sh index fbe6739a2..a73ff4532 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -52,6 +52,13 @@ function update_script() { npm run build &>/dev/null msg_ok "Built ${APP} website" + msg_info "Building ${APP} server" + cd /opt/authentik + go mod download + go build -o /go/authentik ./cmd/server + go build -o /opt/authentik/authentik-server /opt/authentik/cmd/server/ + msg_ok "Built ${APP} server" + msg_info "Installing Python Dependencies" cd /opt/authentik poetry install --only=main --no-ansi --no-interaction --no-root &>/dev/null