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 e038f85 commit 93a76d9Copy full SHA for 93a76d9
Dockerfile
@@ -2,15 +2,9 @@ FROM docker:dind
2
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
- # Create user 'docker-user' and add it to the 'docker' group
7
- adduser -S -D -H docker-user && \
8
- addgroup docker-user docker
+ apk add --no-cache xorriso git xz curl ca-certificates iptables cpio bash perl-utils
9
10
WORKDIR /usr/src/app
11
COPY . .
12
13
-# 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