mirror of https://github.com/portainer/portainer
fix(build): remove build script EE-3481 (#7300)
parent
df381b6a33
commit
a5c3116b0c
|
@ -1,20 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
PROJECT_ROOT=$(git rev-parse --show-toplevel)
|
||||
DIST=$PROJECT_ROOT/dist
|
||||
PORTAINER=$DIST/portainer
|
||||
DATA=/home/ali/portainer/drives/ce
|
||||
ASSETS=$DIST
|
||||
|
||||
# build
|
||||
cd "$PROJECT_ROOT"/api || exit
|
||||
go build -o "$DIST"/portainer cmd/portainer/*.go
|
||||
|
||||
# compose
|
||||
cd "$PROJECT_ROOT"
|
||||
PLATFORM=`go env GOOS`
|
||||
ARCH=`go env GOARCH`
|
||||
./build/download_docker_compose_binary.sh $PLATFORM $ARCH v2.5.1
|
||||
|
||||
# run
|
||||
$PORTAINER --data=$DATA --assets="$ASSETS"
|
Loading…
Reference in New Issue