From da8a28fc9d0f791e87c421dfd6a40561c7b1035b Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 22 Feb 2023 12:59:00 -0600 Subject: [PATCH] update to 1.5.0 --- Dockerfile | 13 ++++++++++--- README.md | 2 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c8a5408..243a4b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM library/tomcat:9-jre11-openjdk-bullseye ENV ARCH=amd64 \ - GUAC_VER=1.4.0 \ + GUAC_VER=1.5.0 \ GUACAMOLE_HOME=/app/guacamole \ PG_MAJOR=9.6 \ PGDATA=/config/postgres \ @@ -70,7 +70,7 @@ RUN set -x \ && cp -R guacamole-auth-jdbc-${GUAC_VER}/postgresql/schema ${GUACAMOLE_HOME}/ \ && rm -rf guacamole-auth-jdbc-${GUAC_VER} guacamole-auth-jdbc-${GUAC_VER}.tar.gz - +# add auth-sso to available extensions folder structur differs from other extensions RUN set -xe \ && echo "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-auth-sso-${GUAC_VER}.tar.gz" \ && curl -SLO "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-auth-sso-${GUAC_VER}.tar.gz" \ @@ -80,10 +80,17 @@ RUN set -xe \ && cp guacamole-auth-sso-${GUAC_VER}/saml/guacamole-auth-sso-saml-${GUAC_VER}.jar ${GUACAMOLE_HOME}/extensions-available/ \ && rm -rf guacamole-auth-sso-${GUAC_VER} guacamole-auth-sso-${GUAC_VER}.tar.gz +# add vault to available extensions folder structur differs from other extensions +RUN set -xe \ + && echo "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-vault-${GUAC_VER}.tar.gz" \ + && curl -SLO "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-vault-${GUAC_VER}.tar.gz" \ + && tar -xzf guacamole-vault-${GUAC_VER}.tar.gz \ + && cp guacamole-vault-${GUAC_VER}/ksm/guacamole-vault-ksm-${GUAC_VER}.jar ${GUACAMOLE_HOME}/extensions-available/ \ + && rm -rf guacamole-vault-${GUAC_VER} guacamole-vault-${GUAC_VER}.tar.gz # Add optional extensions RUN set -xe \ - && for i in auth-duo auth-header auth-json auth-ldap auth-quickconnect auth-totp; do \ + && for i in auth-duo auth-header auth-json auth-ldap auth-quickconnect auth-totp history-recording-storage; do \ echo "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-${i}-${GUAC_VER}.tar.gz" \ && curl -SLO "https://dlcdn.apache.org/guacamole/${GUAC_VER}/binary/guacamole-${i}-${GUAC_VER}.tar.gz" \ && tar -xzf guacamole-${i}-${GUAC_VER}.tar.gz \ diff --git a/README.md b/README.md index 90bf60e..c1367c4 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ Currently the available extensions are: * auth-sso-openid - [OpenID Authentication](https://guacamole.apache.org/doc/gug/openid-auth.html) * auth-sso-saml - [SAML Authentication](https://guacamole.apache.org/doc/gug/saml-auth.html) * auth-totp - [TOTP two-factor authentication](https://guacamole.apache.org/doc/gug/totp-auth.html) +* history-recording-storage - [Session Recording Playback](https://guacamole.apache.org/doc/gug/recording-playback.html#) +* vault - [Retrieving secrets from a vault](https://guacamole.apache.org/doc/gug/vault.html) You should only enable the extensions you require, if an extensions is not configured correctly in the `guacamole.properties` file it may prevent the system from loading. See the [official documentation](https://guacamole.apache.org/doc/gug/) for more details.