fix(build): remove build script EE-3481 (#7300)

pull/7310/head
Ali 2022-07-21 10:09:56 +12:00 committed by GitHub
parent df381b6a33
commit a5c3116b0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 20 deletions

View File

@ -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"