]>
git.ipfire.org Git - people/jschlag/pbs-docker.git/blob - src/pbs-hub/setup-org.sh
7 # build the pbs from master branch
8 apt-get update
-y && apt-get
install -y gcc
make git
10 addgroup
--gid 2000 pbs
11 adduser
--system --no-create-home --shell /bin
/bash
--uid 2000 --disabled-password --disabled-login --gid 2000 pbs
16 git clone
-b master http
://git.ipfire.org
/pub
/git
/pbs.git
18 # Maybe we have to change the configuration
19 #sed -i s/"mysqlpassword"/"$mysql_pass"/g config.h
20 #sed -i s/"mysqlhost"/"$mysql_host"/g config.h
21 #sed -i s/"authmode"/"$pot_authmode"/g config.h
22 #sed -i s/"sleeptime"/"$pot_sleeptime"/g config.h
24 .
/configure
--prefix=/usr
28 apt-get remove
-y git
make gcc
31 rm -rf /var
/lib
/apt
/lists
/* /tmp
/* /var
/tmp
/* /opt
/dev
/*