We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3487e commit e038f85Copy full SHA for e038f85
Dockerfile
@@ -3,13 +3,14 @@ FROM docker:dind
3
# Install required packages
4
RUN apk update && \
5
apk add --no-cache xorriso git xz curl ca-certificates iptables cpio bash perl-utils && \
6
- # Add user to the existing docker group
7
- adduser -S docker-user && \
+ # Create user 'docker-user' and add it to the 'docker' group
+ adduser -S -D -H docker-user && \
8
addgroup docker-user docker
9
10
WORKDIR /usr/src/app
11
COPY . .
12
13
-USER docker-user # Ensure the container runs as a non-root user
+# Switch to 'docker-user' to run as a non-root user
14
+USER docker-user
15
16
CMD ["/usr/src/app/iso/scripts/generate_ISO.sh"]
0 commit comments