scriptbox/build_gitea
2023-11-22 22:00:37 +07:00
..
Linux build_gitea : oops i messup on golang build 2023-11-22 22:00:37 +07:00
README.md build_gitea : add support for static build 2023-11-22 21:54:02 +07:00

Build Gitea

It's simple, Build Gitea and done. nothing special.

curl -L https://github.com/minoplhy/scriptbox/raw/main/build_gitea/Linux/build.sh | bash

or with a git tag

curl -L https://github.com/minoplhy/scriptbox/raw/main/build_gitea/Linux/build.sh | bash -s -- -v "v1.18.0"

Arguments

        v) GITEA_GIT_TAG=${OPTARG};;        # Gitea Git Tag
        g) GO_VERSION=${OPTARG};;           # GOLANG Version
        n) NODEJS_VERSION=${OPTARG};;       # NodeJS Version
        s) BUILD_STATIC="True";;            # Build as Static Assets file

Known Issues

  • This script required root privileges because of dependencies installation, which is hard to avoid.