Set static UID (1000) for jvsuser in Dockerfile configuration
Build and Push Docker Image / build-and-push (push) Successful in 1m6s

This commit is contained in:
2026-07-01 18:30:34 +02:00
parent 9e12e7e1c1
commit 4994e0c43b
+1 -1
View File
@@ -22,7 +22,7 @@ WORKDIR /app
RUN apt-get update && apt-get install -y tini && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y tini && rm -rf /var/lib/apt/lists/*
# Create a non-root user # Create a non-root user
RUN useradd -m jvsuser RUN useradd -m -u 1000 jvsuser
USER jvsuser USER jvsuser
# Copy the built jar from the builder stage # Copy the built jar from the builder stage