Skip to content

Commit 93a76d9

Browse files
remove user
1 parent e038f85 commit 93a76d9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@ FROM docker:dind
22

33
# Install required packages
44
RUN apk update && \
5-
apk add --no-cache xorriso git xz curl ca-certificates iptables cpio bash perl-utils && \
6-
# Create user 'docker-user' and add it to the 'docker' group
7-
adduser -S -D -H docker-user && \
8-
addgroup docker-user docker
5+
apk add --no-cache xorriso git xz curl ca-certificates iptables cpio bash perl-utils
96

107
WORKDIR /usr/src/app
118
COPY . .
129

13-
# Switch to 'docker-user' to run as a non-root user
14-
USER docker-user
15-
1610
CMD ["/usr/src/app/iso/scripts/generate_ISO.sh"]

0 commit comments

Comments
 (0)