Skip to content

Commit f3165ec

Browse files
Update Dockerfile fix groupadd command
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9451d90 commit f3165ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RUN touch /app/healthcheck
5353

5454
# Create non-root user with UID 1000 to match Kubernetes securityContext
5555
# This ensures the application can write to /app/healthcheck at runtime
56-
RUN groupadd -g 1000 oracle && \
56+
RUN groupadd -f -g 1000 oracle && \
5757
useradd -u 1000 -g oracle -s /bin/bash -m oracle
5858

5959
# Change ownership of all /app files to the oracle user

0 commit comments

Comments
 (0)