mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
feat(build-system): add build-offline script (#2169)
This commit is contained in:
parent
bda5eac0c1
commit
7e08227ddb
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@
|
|||
"scripts": {
|
||||
"dev": "yarn grunt run-dev",
|
||||
"clean-all": "yarn grunt clean:all",
|
||||
"build": "yarn grunt build"
|
||||
"build": "yarn grunt build",
|
||||
"build-offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -b portainer ../../../dist/portainer-linux-amd64"
|
||||
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8.4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue