You've already forked fedora-bootc
Add some debug echos, trigger cleanup while mounts are present
Some checks failed
Build container image / Build and push image (push) Failing after 3m40s
Some checks failed
Build container image / Build and push image (push) Failing after 3m40s
This commit is contained in:
@@ -28,9 +28,7 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=cache,dst=/var/cache \
|
||||
--mount=type=cache,dst=/var/log \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/build.sh
|
||||
|
||||
RUN /ctx/cleanup.sh
|
||||
/ctx/build.sh && /ctx/cleanup.sh
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
echo "Let's see."
|
||||
echo "/etc/passwd contents:"
|
||||
cat /etc/passwd
|
||||
echo "/usr/lib/passwd contents:"
|
||||
cat /usr/lib/passwd
|
||||
echo ""
|
||||
echo "/etc/group contents:"
|
||||
cat /etc/group
|
||||
echo "/usr/lib/group contents:"
|
||||
cat /usr/lib/group
|
||||
|
||||
## Handle files that rpm-ostree would normally remove
|
||||
## Borrowed from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
|
||||
if [ -f /etc/passwd ]; then
|
||||
|
||||
Reference in New Issue
Block a user