IT-Experte commented on a change in pull request #292:
URL: https://github.com/apache/guacamole-server/pull/292#discussion_r447120625



##########
File path: Dockerfile
##########
@@ -100,15 +101,21 @@ ARG RUNTIME_DEPENDENCIES="            \
 COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
 
 # Bring runtime environment up to date and install runtime dependencies
-RUN apt-get update                                          && \
-    apt-get install -y $RUNTIME_DEPENDENCIES                && \
-    apt-get install -y $(cat "${PREFIX_DIR}"/DEPENDENCIES)  && \
+RUN apt-get update                                                             
     && \
+    apt-get install -y --no-install-recommends $RUNTIME_DEPENDENCIES           
     && \
+    apt-get install -y --no-install-recommends $(cat 
"${PREFIX_DIR}"/DEPENDENCIES)  && \
     rm -rf /var/lib/apt/lists/*
 
 # Link FreeRDP plugins into proper path
 RUN ${PREFIX_DIR}/bin/link-freerdp-plugins.sh \
         ${PREFIX_DIR}/lib/freerdp2/libguac*.so
 
+# Checks the operating status every 5 minutes with a timeout of 5 seconds
+HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
+
+# Run with user nobody
+USER nobody

Review comment:
       I tested Debian 10 (stable) with (libfreerdp2.0.0~git20190204) and 
Debian 11 (testing) with (libfreerdp2.1.1 dfsg1-1 b1).
   
   Guacd 1.2 and libfreerdp2.0 is working well. Guacd print out a warning 
message, but Filetransfer and clipboard are working. Guacd 1.2 and 
libfreerdp2.1.1 is not working.
   
   Should I change the user "Nobody" to a new user "guacd" with a writable home 
directory?
   
   ----
   WARNING:     FreeRDP initialization may fail: Writability of the current 
user's home directory ("/nonexistent") could not be determined: No such file or 
directory




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to