mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-1788: Update Docker build to use latest release of Maven 3.
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -28,10 +28,21 @@ ARG TOMCAT_VERSION=8.5
|
||||
ARG TOMCAT_JRE=jdk8
|
||||
|
||||
# Use official maven image for the build
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
FROM maven:3-eclipse-temurin-8-focal AS builder
|
||||
|
||||
# Use Mozilla's Firefox PPA (newer Ubuntu lacks a "firefox-esr" package and
|
||||
# provides only a transitional "firefox" package that actually requires Snap
|
||||
# and thus can't be used within Docker)
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install -y software-properties-common \
|
||||
&& add-apt-repository -y ppa:mozillateam/ppa
|
||||
|
||||
# Explicitly prefer packages from the Firefox PPA
|
||||
COPY guacamole-docker/mozilla-firefox.pref /etc/apt/preferences.d/
|
||||
|
||||
# Install firefox browser for sake of JavaScript unit tests
|
||||
RUN apt-get update && apt-get install -y firefox-esr
|
||||
RUN apt-get update && apt-get install -y firefox
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user