Browse Source

chore: add debug output to the docker ubi build (#5825)

Gergely Bräutigam 3 months ago
parent
commit
df1da81a05
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Dockerfile.ubi

+ 1 - 0
Dockerfile.ubi

@@ -19,6 +19,7 @@ RUN mkdir /image && \
 COPY ubi-build-files-${TARGETARCH}.txt /tmp
 # Copy all the required files from the base UBI image into the image directory
 # As the go binary is not statically compiled this includes everything needed for CGO to work, cacerts, tzdata and RH release files
+RUN ls -lR /
 RUN tar cf /tmp/files.tar -T /tmp/ubi-build-files-${TARGETARCH}.txt && tar xf /tmp/files.tar -C /image/ \
   && rpm --root /image --initdb \
   && PACKAGES=$(rpm -qf $(cat /tmp/ubi-build-files-${TARGETARCH}.txt) | grep -v "is not owned by any package" | sort -u) \