Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.5.0
-
None
-
None
-
x86 CentOS Stream 8 with Docker version 20.10.13, build a224086
Description
Symptom
When starting up the docker image `guacamole/guacamole:latest`, with the environment variable `LOGBACK_LEVEL` set to anything, the container fails to start. The container logs only show the following line:
/opt/guacamole/bin/start.sh: 1169: unzip: not found
Preliminary Investigation
This is the code around the aforementioned line above:
if [ -n "$LOGBACK_LEVEL" ]; then
unzip -o -j /opt/guacamole/guacamole.war WEB-INF/classes/logback.xml -d $GUACAMOLE_HOME
sed -i "s/level=\"info\"/level=\"$LOGBACK_LEVEL\"/" $GUACAMOLE_HOME/logback.xml
fi
The code only executes if the `LOGBACK_LEVEL` environment variable is set, and then the unzip command fails, likely because it is not installed in the image.
Proposed solution
Install the unzip program by adding it to the relevant Dockerfile.
Attachments
Issue Links
- duplicates
-
GUACAMOLE-1628 Docker image of guacamole client is missing unzip
- Closed