mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-682: add option to include RADIUS authentication in docker
To include library for RADIUS authentication in the docker image the build needs to activate the maven profile "lgpl-extentions" and copy the library into the image. The docker start script needs to pass through settings and link the library to GUACAMOLE_HOME.
This commit is contained in:
@@ -53,7 +53,12 @@ mkdir -p "$DESTINATION"
|
||||
#
|
||||
|
||||
cd "$BUILD_DIR"
|
||||
mvn package
|
||||
|
||||
if [ -z "$BUILD_PROFILE" ]; then
|
||||
mvn package
|
||||
else
|
||||
mvn -P "$BUILD_PROFILE" package
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy guacamole.war to destination
|
||||
@@ -107,3 +112,11 @@ tar -xzf extensions/guacamole-auth-ldap/target/*.tar.gz \
|
||||
"*.jar" \
|
||||
"*.ldif"
|
||||
|
||||
#
|
||||
# Copy Radius auth extension if it was build
|
||||
#
|
||||
|
||||
if [[ "$BUILD_PROFILE ~= "lgpl-extentions" ]]; then
|
||||
mkdir -p "$DESTINATION/radius"
|
||||
cp extensions/guacamole-auth-radius/target/guacamole-auth-radius*.jar "$DESTINATION/radius"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user