mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
use the alpine way ;)
This commit is contained in:
@@ -69,9 +69,8 @@ FROM alpine:latest
|
||||
############################
|
||||
# Protect by non-root user.
|
||||
|
||||
RUN mkdir -p /home/kerberosio
|
||||
RUN useradd -d /home/kerberosio -m -s /bin/bash kerberosio
|
||||
USER kerberosio
|
||||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
||||
USER appuser
|
||||
|
||||
#################################
|
||||
# Copy files from previous images
|
||||
|
||||
Reference in New Issue
Block a user