.
This commit is contained in:
@@ -7,6 +7,9 @@ RUN mvn clean install -DskipTests
|
|||||||
|
|
||||||
FROM openjdk:21-jdk-slim
|
FROM openjdk:21-jdk-slim
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y libfreetype6 fontconfig && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
# Create a non-root user and group for security
|
# Create a non-root user and group for security
|
||||||
RUN groupadd -r appgroup && useradd -r -s /bin/false -g appgroup appuser
|
RUN groupadd -r appgroup && useradd -r -s /bin/false -g appgroup appuser
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user