mike-jumper opened a new pull request, #388:
URL: https://github.com/apache/guacamole-server/pull/388

   This change overhauls the guacamole-server Docker image build such that all 
core protocol libraries (FreeRDP, libssh2, etc.) are built from source as part 
of the build on top of a minimal Alpine Linux base. The latest releases of each 
library are automatically built based on a tag pattern match (PCRE) which can 
be overridden with a different pattern/tag/branch/commit at build time.
   
   Need the support provided by a new libssh2 or FreeRDP release? You can now 
get that without having to wait for packages to be built by the maintainers of 
the distro whose image we happen to currently use for Docker. Need to test 
things that haven't been released yet? You can do that, too. You can also 
disable support for a protocol entirely by setting its relevant build arg to 
`NO`.
   
   For example:
   
   ```console
   $ docker build -t guacd . # Include support for everything
   $ docker build -t guacd --build-arg WITH_FREERDP=stable-2.0 . # Force the 
build to use FreeRDP's "stable-2.0" dev branch
   $ docker build -t guacd --build-arg WITH_FREERDP=NO . # Don't include 
FreeRDP at all
   ```
   
   The switch to Alpine also means that this image has been cut in size by 
almost half:
   
   ```console
   $ docker images guacamole/guacd:latest
   REPOSITORY        TAG       IMAGE ID       CREATED        SIZE
   guacamole/guacd   latest    f72e1cd4a0e3   20 hours ago   273MB
   $ docker images guacd
   REPOSITORY   TAG       IMAGE ID       CREATED         SIZE
   guacd        latest    2fcfbcc92a7f   3 minutes ago   139MB
   $ 
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to