mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
removing DOCKER_ENABLE_SECURITY flag
This commit is contained in:
committed by
Dario Ghunney Ware
parent
5a50947e5e
commit
41cd7d8f47
+3
-5
@@ -15,9 +15,8 @@ WORKDIR /app
|
||||
# Copy the entire project to the working directory
|
||||
COPY . .
|
||||
|
||||
# Build the application with DOCKER_ENABLE_SECURITY=true/ADDITIONAL_FEATURES_OFF=false
|
||||
RUN DOCKER_ENABLE_SECURITY=true \
|
||||
ADDITIONAL_FEATURES_OFF=false \
|
||||
# Build the application with ADDITIONAL_FEATURES_OFF=false
|
||||
RUN ADDITIONAL_FEATURES_OFF=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
@@ -33,8 +32,7 @@ COPY --from=build /app/build/libs/*.jar app.jar
|
||||
ARG VERSION_TAG
|
||||
|
||||
# Set Environment Variables
|
||||
ENV DOCKER_ENABLE_SECURITY=false \
|
||||
ADDITIONAL_FEATURES_OFF=true \
|
||||
ENV ADDITIONAL_FEATURES_OFF=true \
|
||||
VERSION_TAG=$VERSION_TAG \
|
||||
JAVA_BASE_OPTS="-XX:+UnlockExperimentalVMOptions -XX:MaxRAMPercentage=75 -XX:InitiatingHeapOccupancyPercent=20 -XX:+G1PeriodicGCInvokesConcurrent -XX:G1PeriodicGCInterval=10000 -XX:+UseStringDeduplication -XX:G1PeriodicGCSystemLoadThreshold=70" \
|
||||
JAVA_CUSTOM_OPTS="" \
|
||||
|
||||
Reference in New Issue
Block a user