anchor.diff:  # Build guacamole-server from local source
   RUN /opt/guacd/bin/build-guacd.sh "$BUILD_DIR" "$PREFIX_DIR"
   
  -# Use same CentOS as the base for the runtime image
  -FROM centos:${CENTOS_VERSION}
  +# Use same Ubuntu as the base for the runtime image
  +FROM ubuntu:${UBUNTU_VERSION}
   
   # Base directory for installed build artifacts.
   # Due to limitations of the Docker image build process, this value is
  
positive.code: ENV GUACD_LOG_LEVEL=info
  
  ARG RUNTIME_DEPENDENCIES="            \
          cairo                         \
          dejavu-sans-mono-fonts        \
          freerdp                       \
          freerdp-plugins               \
          ghostscript                   \
          libjpeg-turbo                 \
          libssh2                       \
          liberation-mono-fonts         \
          libtelnet                     \
          libvorbis                     \
          libvncserver                  \
          libwebp                       \
          pango                         \
          pulseaudio-libs               \
          terminus-fonts                \
          uuid"
  
  # Bring runtime environment up to date and install runtime dependencies
  RUN yum -y update                          && \
      yum -y install epel-release            && \
      yum -y install $RUNTIME_DEPENDENCIES   && \
      yum clean all                          && \
      rm -rf /var/cache/yum
  
  # Copy build artifacts into this stage
  COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
  
  # Link FreeRDP plugins into proper path
  RUN FREERDP_DIR=$(dirname \
          $(rpm -ql freerdp-libs | grep 'libfreerdp.*\.so' | head -n1)) && \
      FREERDP_PLUGIN_DIR="${FREERDP_DIR}/freerdp" && \
      mkdir -p "$FREERDP_PLUGIN_DIR" && \
      ln -s "$PREFIX_DIR"/lib/freerdp/*.so "$FREERDP_PLUGIN_DIR"
  
negative.code: ARG BUILD_DEPENDENCIES="              \
          autoconf                      \
          automake                      \
          gcc                           \
          libcairo2-dev                 \
          libfreerdp-dev                \
          libjpeg-turbo8-dev            \
          libossp-uuid-dev              \
          libpango1.0-dev               \
          libpulse-dev                  \
          libssh2-1-dev                 \
          libssl-dev                    \
          libtelnet-dev                 \
          libtool                       \
          libvncserver-dev              \
          libwebp-dev                   \
          make"
  
  # Build time environment
  ENV LC_ALL=en_US.UTF-8
  
  # Bring build environment up to date and install build dependencies
  RUN apt-get update                         && \
      apt-get install -y $BUILD_DEPENDENCIES && \
      rm -rf /var/lib/apt/lists/*
  
  # Add configuration scripts
  COPY src/guacd-docker/bin /opt/guacd/bin/
  