mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-1765: Disable tests by default so the build doesn't require firefox.
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -33,9 +33,11 @@ FROM maven:3-jdk-8 AS builder
|
||||
# Install firefox browser for sake of JavaScript unit tests
|
||||
RUN apt-get update && apt-get install -y firefox-esr
|
||||
|
||||
# Use args to build radius auth extension such as
|
||||
# `--build-arg BUILD_PROFILE=lgpl-extensions`
|
||||
ARG BUILD_PROFILE
|
||||
# Arbitrary arguments that can be passed to the maven build. By default, an
|
||||
# argument will be provided to explicitly unskip any skipped tests. To, for
|
||||
# example, allow the building of the RADIUS auth extension, pass a build profile
|
||||
# as well: `--build-arg MAVEN_ARGUMENTS="-P lgpl-extensions -DskipTests=false"`.
|
||||
ARG MAVEN_ARGUMENTS="-DskipTests=false"
|
||||
|
||||
# Build environment variables
|
||||
ENV \
|
||||
@@ -48,7 +50,7 @@ COPY guacamole-docker/bin/ /opt/guacamole/bin/
|
||||
COPY . "$BUILD_DIR"
|
||||
|
||||
# Run the build itself
|
||||
RUN /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole "$BUILD_PROFILE"
|
||||
RUN /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole
|
||||
|
||||
# For the runtime image, we start with the official Tomcat distribution
|
||||
FROM tomcat:${TOMCAT_VERSION}-${TOMCAT_JRE}
|
||||
|
Reference in New Issue
Block a user