Since I need some pre-built tools to install into my Centos system, how do I create and package a container image through distrobuilder in an Ubuntu environment?
I tried to build it using
Error: Error while downloading source: Failed to get release: Failed to find release
By default, it seems that I can only create and package container images on Ubuntu for systems that use apt as a package manager, such as kali.
Are there any examples? I’m a newbie and I’m happy to learn from any success stories.
You can look at the logs at https://jenkins.linuxcontainers.org/ to see exactly how we call distrobuilder. The same calls can be found in the jenkins/jobs directory of lxc-ci.
Thank you very much, I found that I can use -o image.architecture=amd64 only when compiling ubuntu, debian, kali and I have to use -o image.architecture=x86_64 when compiling other images such as centos, my problem is solved, thanks for the help!
But this raises another query for me, if I want to compile an image for, say, arm64 architecture, I have to make sure that the host for the compilation is arm64 architecture right? Or can I compile container images for arm64 architecture on amd64 architecture.
Error: Error while downloading source: Failed to download "https://archive.archlinux.org/iso//current/archlinux-bootstrap-current-x86_64.tar.gz": Unable to fetch https://archive.archlinux.org/iso//current/archlinux-bootstrap-current-x86_64.tar.gz: 404 Not Found
May I ask if there is something wrong with what I wrote?