GUACAMOLE-271: add Duo to Docker build
This commit is contained in:
1 parent
59b1ccc732
commit
b9a99f0bc1
2 files changed
+59
No files matched your search
@@ -134,3 +134,18 @@ if [ -f extensions/guacamole-auth-openid/target/guacamole-auth-openid*.jar ]; th
|
||||
mkdir -p "$DESTINATION/openid"
|
||||
cp extensions/guacamole-auth-openid/target/guacamole-auth-openid*.jar "$DESTINATION/openid"
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy Duo auth extension if it was built
|
||||
#
|
||||
|
||||
if [ -f extensions/guacamole-auth-duo/target/*.tar.gz ]; then
|
||||
mkdir -p "$DESTINATION/duo"
|
||||
tar -xzf extensions/guacamole-auth-duo/target/*.tar.gz \
|
||||
-C "$DESTINATION/duo/" \
|
||||
--wildcards \
|
||||
--no-anchored \
|
||||
--no-wildcards-match-slash \
|
||||
--strip-components=1 \
|
||||
"*.jar"
|
||||
fi
|
||||
Reference in new issue
Block a user