Lightweight Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
260 B

#!/bin/bash
set -e
GO=${GO-go}
mkdir -p $(dirname $0)/../bin
cd $(dirname $0)/../bin
echo Running
ARGS="--disable-agent"
if echo -- "$@" | grep -q rootless; then
ARGS=""
PATH=$(pwd):$PATH
fi
"${GO}" run -tags "apparmor" ../main.go server $ARGS "$@"