Fetch the repository succeeded.
This action will force synchronization from 飞致云X-Lab/KubeOperator, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
BASEPATH := $(shell pwd)
BUILDDIR=$(BASEPATH)/dist
GOGINDATA=go-bindata
KO_SERVER_NAME=ko-server
KO_CONFIG_DIR=etc/ko
KO_BIN_DIR=usr/local/bin
KO_DATA_DIR=usr/local/lib/ko
GOPROXY="https://goproxy.cn,direct"
build_server_linux:
GOOS=linux GOARCH=$(GOARCH) $(GOGINDATA) -o ./pkg/i18n/locales.go -pkg i18n ./locales/...
GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) -o $(BUILDDIR)/$(KO_BIN_DIR)/$(KO_SERVER_NAME) main.go
mkdir -p $(BUILDDIR)/$(KO_CONFIG_DIR) && cp -r $(BASEPATH)/conf/app.yaml $(BUILDDIR)/$(KO_CONFIG_DIR)
mkdir -p $(BUILDDIR)/$(KO_DATA_DIR)
cp -r $(BASEPATH)/migration $(BUILDDIR)/$(KO_DATA_DIR)
docker_ui:
docker build -t kubeoperator/ui:master ./ui --no-cache
docker_server:
docker build -t kubeoperator/server:master --build-arg GOPROXY=$(GOPROXY) --build-arg GOARCH=$(GOARCH) --build-arg XPACK="no" .
docker_server_xpack:
docker build -t kubeoperator/server:master --build-arg GOPROXY=$(GOPROXY) --build-arg GOARCH=$(GOARCH) --build-arg XPACK="yes" .
clean:
rm -fr ./dist
go clean
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。