Files
dokku/plugins/plugin/Makefile
T
Jose Diaz-Gonzalez 825fa8968c fix: default source installs to the host architecture
Installing from source on an arm64 host downloaded amd64 dependencies and built amd64 plugins, failing once `plugin:install` ran the first binary. The `TARGETARCH` and `GOARCH` make variables now default to the host architecture and remain overridable, and debian packages are labelled with the architecture they were built for. Closes #9217.
2026-11-06 17:11:28 -05:00

11 lines
260 B
Makefile

BUILD = plugin-list
PLUGIN_NAME = plugin
clean-plugin-list:
rm -rf plugin-list
plugin-list: clean-plugin-list **/**/plugin-list.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o plugin-list src/plugin-list/plugin-list.go
include ../../common.mk