Closed adelton closed 12 months ago
When running the command shown in the top level README.md, just with podman
podman
$ podman build -t almalinux-8 -f dockerfiles/al8/Dockerfile.default .
I get
yum-4.7.0-16.el8_8.alma.noarch zlib-1.2.11-21.el8_7.x86_64 Complete! 28 files removed /bin/sh: RUN: command not found --> 40d97a6662fe [2/3] STEP 1/3: FROM scratch AS stage2
It seems to be caused by the fact that
[1/3] STEP 2/2: RUN mkdir /mnt/sys-root; dnf install -y --installroot /mnt/sys-root [...] dnf --installroot /mnt/sys-root clean all; RUN rm -rf /mnt/sys-root/var/log/dnf* /mnt/sys-root/var/log/yum.* [...]
The extra newline on the preceding line makes that RUN part of that command list.
RUN
When running the command shown in the top level README.md, just with
podman
I get
It seems to be caused by the fact that
The extra newline on the preceding line makes that
RUN
part of that command list.