mirror of
https://github.com/jwetzell/docker-guacamole.git
synced 2026-08-24 00:19:22 +00:00
0.9.14
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
cp -rn /app/guacamole /config
|
||||
mkdir -p /root/.config/freerdp/known_hosts
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
# clean up extensions
|
||||
for i in auth-ldap auth-duo auth-header auth-noauth auth-cas; do
|
||||
for i in auth-ldap auth-duo auth-header auth-noauth auth-cas auth-openid; do
|
||||
rm -rf ${GUACAMOLE_HOME}/extensions/guacamole-${i}-${GUAC_VER}.jar
|
||||
done
|
||||
|
||||
|
||||
@@ -11,6 +11,12 @@ if [ $? -ne 0 ]; then
|
||||
createuser -U postgres $POSTGRES_USER
|
||||
createdb -U postgres -O $POSTGRES_USER $POSTGRES_DB
|
||||
cat /app/guacamole/schema/*.sql | psql -U $POSTGRES_USER -d $POSTGRES_DB -f -
|
||||
echo "0.9.14" > /config/.database-version
|
||||
else
|
||||
if [ "$(cat /config/.database-version)" != "0.9.14" ]; then
|
||||
cat /app/guacamole/schema/upgrade/upgrade-pre-0.9.14.sql | psql -U $POSTGRES_USER -d $POSTGRES_DB -f -
|
||||
echo "0.9.14" > /config/.database-version
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Starting guacamole client..."
|
||||
|
||||
Reference in New Issue
Block a user