apologies, bootc noob here.
I was able to successfully build this image, but trying to switch to it is giving me an ostree error:
root@localhost:/var/home/user/ubuntu-bootc# bootc switch --transport containers-storage localhost/ubuntu-bootc:latest
layers already present: 1; layers needed: 4 (1.6 GB)
Fetched layers: 0 B in 6 seconds (0 B/s) error: Switching: Switching (ostree): Pulling: Importing: Parsing layer blob sha256:ea4aef9c15f78964d6514e3b89b0704a03e561cb1b858fe4543ddbca4cc39538: error: Linkpath can't be converted from UTF-8 to current locale.: Processing tar: Failed to commit tar: ExitStatus(unix_wait_status(256))
bootc container lint doesn't report any errors, but I'm not sure it's doing the utf8 checks.
root@localhost:/var/home/user/ubuntu-bootc# podman run ubuntu-bootc bootc container lint
Lint warning: nonempty-run-tmp: Found content in runtime-only directories (/run, /tmp):
/run/adduser
/run/lock
/run/lock/subsys
/run/log
/run/sendsigs.omit.d
...and 17 more
Lint warning: sysusers: Found /etc/passwd entry without corresponding systemd sysusers.d:
ubuntu
Found /etc/group entry without corresponding systemd sysusers.d:
_ssh
ubuntu
Checks passed: 11
Checks skipped: 1
Warnings: 2
(not sure what Checks skipped there means)
inspecting the resulting container, i did find a file with extended characters, I added a step to the Containerfile to remove it:
rm -f /usr/share/ca-certificates/mozilla/NetLock* && \
this was part of the rustup/dracut step. but this did not remedy the issue. but definitely did remove this file from the resulting container.
Any suggestions for remedying this?