File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,14 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GO111MODULE=on go build
4040
4141# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9-minimal
4242FROM registry.access.redhat.com/ubi9-minimal:9.6-1749489516
43- RUN microdnf -y update && microdnf install -y time git git-lfs nc && microdnf clean all && rm -rf /var/cache/yum && echo "Installed Packages" && rpm -qa | sort -V && echo "End Of Installed Packages"
43+ RUN microdnf -y update \
44+ && microdnf install -y time git git-lfs nc \
45+ && microdnf clean all \
46+ && rm -rf /var/cache/yum \
47+ && echo "Installed Packages" \
48+ && rpm -qa | sort -V \
49+ && echo "End Of Installed Packages" \
50+ && echo "user:x:1234:0::/:/bin/sh" > /etc/passwd
4451WORKDIR /
4552COPY --from=builder /project-clone/_output/bin/project-clone /usr/local/bin/project-clone
4653
You can’t perform that action at this time.
0 commit comments