mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-682: fix env variable passing
This commit is contained in:
@@ -30,6 +30,8 @@ ARG TOMCAT_JRE=jre8
|
||||
# Use official maven image for the build
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
|
||||
ARG BUILD_PROFILE
|
||||
|
||||
# Build environment variables
|
||||
ENV \
|
||||
BUILD_DIR=/tmp/guacamole-docker-BUILD
|
||||
@@ -41,7 +43,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
|
||||
RUN /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole "$BUILD_PROFILE"
|
||||
|
||||
# For the runtime image, we start with the official Tomcat distribution
|
||||
FROM tomcat:${TOMCAT_VERSION}-${TOMCAT_JRE}
|
||||
|
Reference in New Issue
Block a user