]> git.ipfire.org Git - people/jschlag/pbs-docker.git/blobdiff - src/pbs-manager/setup-org.sh
Refactoring the structure of our images
[people/jschlag/pbs-docker.git] / src / pbs-manager / setup-org.sh
diff --git a/src/pbs-manager/setup-org.sh b/src/pbs-manager/setup-org.sh
deleted file mode 100644 (file)
index 5a693b3..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-#
-#settings
-#
-="database"
-
-# build the pbs from master branch
-apt-get update -y && apt-get install -y  gcc make git
-# add a user
-addgroup --gid 2000 pbs 
-adduser --system --no-create-home --shell /bin/bash --uid 2000 --disabled-password --disabled-login --gid 2000 pbs
-
-# build the pot
-mkdir -p /opt/dev
-cd /opt/
-git clone -b master  http://git.ipfire.org/pub/git/pbs.git 
-cd pbs
-# Maybe we have to change the configuration
-#sed -i s/"mysqlpassword"/"$mysql_pass"/g config.h
-#sed -i s/"mysqlhost"/"$mysql_host"/g config.h
-#sed -i s/"authmode"/"$pot_authmode"/g config.h
-#sed -i s/"sleeptime"/"$pot_sleeptime"/g config.h
-
-./configure --prefix=/usr
-make
-make install
-# cleanup
-apt-get remove -y git make gcc
-apt-get autoremove -y 
-apt-get clean
-rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /opt/dev/*
-
-# set permissions