Closed etsauer closed 6 months ago
@cgruver this is my attempt to "CEkit-ify" your cekit-builder image from https://github.com/cgruver/dev-workspace-utilities/tree/main/cekit-builder
I'm currently having issues when trying to run a build using it. Here's what I'm getting:
$ cekit build podman ... 2024-05-02 17:19:39,489 podman.py:59 INFO Building container image... STEP 1/41: FROM registry.access.redhat.com/ubi9/ubi:9.4 STEP 2/41: USER root STEP 3/41: COPY entrypoint.sh /tmp/artifacts/ STEP 4/41: COPY modules/developer-base /tmp/scripts/developer-base STEP 5/41: USER root STEP 6/41: RUN dnf --setopt=tsflags=nodocs install -y compat-openssl11 diffutils git iproute jq less libbrotli lsof man-db nano procps-ng perl-Digest-SHA net-tools openssh-clients rsync socat sudo time vim-enhanced wget zip buildah skopeo podman-docker && rpm -q compat-openssl11 diffutils git iproute jq less libbrotli lsof man-db nano procps-ng perl-Digest-SHA net-tools openssh-clients rsync socat sudo time vim-enhanced wget zip buildah skopeo podman-docker WARN[0000] pkg/bind: error detaching "/var/tmp/buildah2311396013/mnt/buildah-bind-target-1": permission denied WARN[0000] pkg/bind: error removing "/var/tmp/buildah2311396013/mnt/buildah-bind-target-1": device or resource busy WARN[0000] pkg/bind: error removing "/var/tmp/buildah2311396013/mnt": directory not empty ERRO[0000] permission denied error running container: from /usr/bin/crun creating container for [/bin/sh -c dnf --setopt=tsflags=nodocs install -y compat-openssl11 diffutils git iproute jq less libbrotli lsof man-db nano procps-ng perl-Digest-SHA net-tools openssh-clients rsync socat sudo time vim-enhanced wget zip buildah skopeo podman-docker && rpm -q compat-openssl11 diffutils git iproute jq less libbrotli lsof man-db nano procps-ng perl-Digest-SHA net-tools openssh-clients rsync socat sudo time vim-enhanced wget zip buildah skopeo podman-docker]: set propagation for `proc`: Permission denied : exit status 1 ERRO[0001] did not get container create message from subprocess: EOF
Trying to figure out what the important difference is here.
@cgruver this is my attempt to "CEkit-ify" your cekit-builder image from https://github.com/cgruver/dev-workspace-utilities/tree/main/cekit-builder
I'm currently having issues when trying to run a build using it. Here's what I'm getting:
Trying to figure out what the important difference is here.