GithubHelp home page GithubHelp logo

chisel-releases's Introduction

Chisel Releases

The collection of package slice definitions, for Chisel.

The Basics

This repository is the official source of all package slice definitions that are supported by Chisel.

Every Chisel release is represented by a Git branch within this repository. At the moment, the officially supported Chisel releases are:

In each release branch, you'll find a chisel.yaml file that defines the Chisel release, plus a slices folder with all the Slice Definitions Files (SDFs) for that release.

For more information on the SDFs' YAML schema and how to install slices, please refer to the Chisel documentation.

Using a Specific Chisel Release

Chisel releases are meant to be used with the chisel CLI. Many of the chisel commands have a --release optional argument (to know which commands support this option, please refer to the Chisel documentation).

When running a chisel command where --release is supported,

  • if --release is not given, Chisel will default to the host's Ubuntu release, mapping it to its corresponding branch in this repository. E.g.: if running the chisel command without --release on a Jammy host, Chisel will automatically default to the ubuntu-22.04 Chisel release;
  • if --release is an absolute system path, then Chisel will look at the directory tree under that path to find a valid Chisel release (this is especially useful when you're working with custom Chisel releases and/or defining new slices);
  • if --release is a string that matches the ubuntu-##.## pattern, then Chisel will use the corresponding Git branch from this repository if it exists.

Adding New Slice Definitions

We welcome and encourage community contributions! To better understand how to write and propose new package slice definitions, please read the contributing guidelines.

chisel-releases's People

Contributors

cjdcordeiro avatar hadrienpatte avatar rebornplusplus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chisel-releases's Issues

Refactor openjdk-8-jre-headless to have "server"- and "client"-specific slices

can you please clarify? for armhf it seems that there's only client, while server is only available for other archs. Are you saying that, for armhf, the client should not be installed as part of the current slice?

I apologise for confusion. Yes, we build client for the armhf.
I was wondering if we can do something like:

slices:
  # The "core" slice provides a minimal, yet functional JRE8.
  core:
    essential:
      - libc6_libs
      - libgcc-s1_libs
      - libstdc++6_libs
      - zlib1g_libs
      - openjdk-8-jre-headless_client_vm
      - openjdk-8-jre-headless_server_vm

... 

and move the client and server vm contents into separate slices.

Originally posted by @vpa1977 in #150 (comment)

Not able to pull chisel:22.04 image

FROM chisel:22.04 as installer

is giving exception
chisel:22.04: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Pretty sure, no VPN or network issue from my side.
I also checked chisel:22.04 does not exist on docker hub as well.

[epic] Add libcrypto++8 slice

libcrypto++8

This is an [epic] issue where I propose the addition of the libcrypto++8 slice.

I'll create sub-issues to handle them individually for better discuss any issue that may occur while working on them.

  • #241
  • 23.10
  • 22.04
  • 20.04

Add procps slice to 24.04

  Depends: libc6
  Depends: libncursesw6
  Depends: libproc2-0
  Depends: libsystemd0
  Depends: libtinfo6
  Depends: init-system-helpers

focal: invalid `libc6` slice definition for `s390x` and `ppc64el` arch

libc6_libs installation fails with --arch s390x and --arch ppc64el with the following error:

$ ./chisel cut --release ./ --arch ppc64el --root out/ libc6_libs
2023/08/01 14:48:13 Processing ./ release...
2023/08/01 14:48:14 Selecting slices...
...
... (trimmed)
...
2023/08/01 14:48:17 Fetching pool/main/g/glibc/libc6_2.31-0ubuntu9.9_ppc64el.deb...
2023/08/01 14:48:17 Extracting files from package "libc6"...
error: cannot extract from package "libc6": no content at /lib/*-linux-*/ld-*.so.*

Add libgomp1 to slices

libgomp1 package is missing in slices for 24.04 branch.
libgomp1 is OpenMP library which is very common.

Add procps slice to 22.04

  Depends: libc6
  Depends: libncurses6
  Depends: libncursesw6
  Depends: libprocps8
  Depends: libtinfo6
  Depends: lsb-base
  Depends: init-system-helpers

Add additional packages to ubuntu-22.04 & ubuntu-24.04?

  1. Would it be possible to add libc-bin to ubuntu-24.04 as was done for ubuntu-22.04 in d3c1f48?
    I suspect it's simply a matter of committing a copy of libc-bin.yaml from the ubuntu-22.04 branch onto the ubuntu-24.04 branch?

  2. Would it be possible to add busybox to ubuntu-24.04?
    I suspect it's simply a matter of committing a copy of busybox.yaml from the ubuntu22.04 branch onto the ubuntu-24.04, with adjustments for the /bin to /usr/bin transition?

  3. Would it be possible to add netbase to ubuntu-22.04 as was done for ubuntu 24.04 in 45ae94a?
    I suspect it's simply a matter of committing a copy of netbase.yaml from the ubuntu-24.04 branch onto the ubuntu-22.04 branch?

Add procps slice to 20.04

  Depends: libc6
  Depends: libncurses6
  Depends: libncursesw6
  Depends: libprocps8
  Depends: libtinfo6
  Depends: lsb-base
  Depends: init-system-helpers

Add libboost-1.83 slices to 24.04

  • libboost-atomic1.83.0
  • libboost-chrono1.83.0t64
  • libboost-container1.83.0
  • libboost-context1.83.0 (#245)
  • libboost-contract1.83.0
  • libboost-coroutine1.83.0 (#245)
  • libboost-date-time1.83.0
  • libboost-fiber1.83.0
  • libboost-filesystem1.83.0 (#245)
  • libboost-graph-parallel1.83.0
  • libboost-graph1.83.0
  • libboost-iostreams1.83.0
  • libboost-json1.83.0
  • libboost-locale1.83.0
  • libboost-log1.83.0 (#245)
  • libboost-math1.83.0
  • libboost-mpi-python1.83.0
  • libboost-mpi1.83.0
  • libboost-nowide1.83.0
  • libboost-numpy1.83.0
  • libboost-program-options1.83.0
  • libboost-python1.83.0
  • libboost-random1.83.0
  • libboost-regex1.83.0
  • libboost-serialization1.83.0
  • libboost-stacktrace1.83.0
  • libboost-system1.83.0
  • libboost-test1.83.0
  • libboost-thread1.83.0 (#245)
  • libboost-timer1.83.0
  • libboost-type-erasure1.83.0
  • libboost-url1.83.0
  • libboost-wave1.83.0

CLA signed, but checks not passing as I seem to be not added to contributor list(s)

Firstly, I apologize for opening an GitHub issue for this, but I couldn't find any support info on the CLA signing page. In FAQs, this is also not really covered (or I did not find it).

So I signed the Individual Contributor Agreement form over here:
https://ubuntu.com/legal/contributors/agreement

Which resulted in a success message “you can now contribute …”, but I got no mail, I am not in the list it seems and also not part of the group on launchpad.

What exactly is the process here? — Do I just need to wait for a sync, will I get a mail?

Chisel cut throws exception.

Getting following exception while testing slices:

2024/02/01 15:04:51 Consulting release repository...
2024/02/01 15:04:52 Cached ubuntu-23.10 release is still up-to-date.
2024/02/01 15:04:52 Processing ubuntu-23.10 release...
2024/02/01 15:04:53 Selecting slices...
2024/02/01 15:04:53 Fetching ubuntu 23.10 mantic suite details...
2024/02/01 15:04:55 Release date: Mon, 16 Oct 2023 21:12:12 UTC
2024/02/01 15:04:55 Fetching index for ubuntu 23.10 mantic main component...
2024/02/01 15:04:55 Fetching index for ubuntu 23.10 mantic universe component...
2024/02/01 15:04:56 Fetching ubuntu 23.10 mantic-security suite details...
2024/02/01 15:04:56 Release date: Thu, 01 Feb 2024 12:46:10 UTC
2024/02/01 15:04:56 Fetching index for ubuntu 23.10 mantic-security main component...
2024/02/01 15:04:56 Fetching index for ubuntu 23.10 mantic-security universe component...
2024/02/01 15:04:56 Fetching ubuntu 23.10 mantic-updates suite details...
2024/02/01 15:04:57 Release date: Thu, 01 Feb 2024 14:32:36 UTC
2024/02/01 15:04:57 Fetching index for ubuntu 23.10 mantic-updates main component...
2024/02/01 15:04:58 Fetching index for ubuntu 23.10 mantic-updates universe component...
2024/02/01 15:04:59 Fetching pool/main/g/glibc/libc6_2.38-1ubuntu6.1_amd64.deb...
2024/02/01 15:04:59 Extracting files from package "libc6"...
error: cannot extract from package "libc6": target directory does not exist

The slice exists.
This is happening for Ubuntu-23.10.

Add podman slice and its dependencies

Add podman slices and its dependencies:

podman
  Depends: init-system-helpers
  Depends: libc6
  Depends: libdevmapper1.02.1
  Depends: libgpgme11
  Depends: libseccomp2
  Depends: conmon
  Depends: containernetworking-plugins
  Depends: golang-github-containers-common
 |Depends: crun
  Depends: runc

Add procps slice to 23.10

  Depends: libc6
  Depends: libncursesw6
  Depends: libproc2-0
  Depends: libtinfo6
  Depends: init-system-helpers

Missing copyright files for some slices

I've noticed that some slices are missing their copyright files under /usr/share/doc.
For example, this seems to affect the libgcc-s1 & libstdc++6 slices.
I believe this is due to the fact that their directories under /usr/share/doc are actually symlinks to the gcc-base-X package they come from.
And since the gcc-base-X directory under /usr/share/doc is from a different package, it never ends up getting pulled and extracted.
I'm not sure how this should be best handled (if at all)?

ca-certificates broken for ubuntu 22.04

When calling chisel with ca-certificates_data (or any of the other iterations, ca-certificates_bins, etc). I get this error:

66.21 error: cannot extract from package "ca-certificates": when using wildcards source and target paths must match: /usr/share/ca-certificates/mozilla/**

This is a very basic image and it worked until prior to #267 being merged.

Add util-linux slice

Dependencies:

# apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances util-linux | grep "^\w" | sort -u
cdebconf
debconf
gcc-14-base
libaudit-common
libaudit1
libblkid1
libc6
libcap-ng0
libcap2
libcrypt1
libdebian-installer4
libgcc-s1
libgcrypt20
libgpg-error0
liblz4-1
liblzma5
libmount1
libnewt0.52
libpam0g
libpcre2-8-0
libreadline8t64
libselinux1
libslang2
libsmartcols1
libsystemd0
libtextwrap1
libtinfo6
libudev1
libuuid1
libzstd1
readline-common
util-linux
zlib1g

Content:

# dpkg -c util-linux_2.39.3-9ubuntu6_amd64.deb
drwxr-xr-x root/root         0 2024-04-09 14:02 ./
drwxr-xr-x root/root         0 2024-04-09 14:02 ./etc/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./etc/pam.d/
-rw-r--r-- root/root       143 2024-03-03 08:36 ./etc/pam.d/runuser
-rw-r--r-- root/root       138 2024-03-03 08:36 ./etc/pam.d/runuser-l
-rw-r--r-- root/root      2259 2024-03-03 08:36 ./etc/pam.d/su
-rw-r--r-- root/root       137 2024-03-03 08:36 ./etc/pam.d/su-l
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/bin/
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/bin/addpart
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/choom
-rwxr-xr-x root/root     31104 2024-04-09 14:02 ./usr/bin/chrt
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/bin/delpart
-rwxr-xr-x root/root     70288 2024-04-09 14:02 ./usr/bin/dmesg
-rwxr-xr-x root/root     27008 2024-04-09 14:02 ./usr/bin/fallocate
-rwxr-xr-x root/root     69280 2024-04-09 14:02 ./usr/bin/findmnt
-rwxr-xr-x root/root     23024 2024-04-09 14:02 ./usr/bin/flock
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/getopt
-rwxr-xr-x root/root     47600 2024-04-09 14:02 ./usr/bin/hardlink
-rwxr-xr-x root/root     18816 2024-04-09 14:02 ./usr/bin/ionice
-rwxr-xr-x root/root     22984 2024-04-09 14:02 ./usr/bin/ipcmk
-rwxr-xr-x root/root     18816 2024-04-09 14:02 ./usr/bin/ipcrm
-rwxr-xr-x root/root     39296 2024-04-09 14:02 ./usr/bin/ipcs
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/bin/last
-rwxr-xr-x root/root    149896 2024-04-09 14:02 ./usr/bin/lsblk
-rwxr-xr-x root/root    113032 2024-04-09 14:02 ./usr/bin/lscpu
-rwxr-xr-x root/root     51584 2024-04-09 14:02 ./usr/bin/lsipc
-rwxr-xr-x root/root     31504 2024-04-09 14:02 ./usr/bin/lslocks
-rwxr-xr-x root/root     51584 2024-04-09 14:02 ./usr/bin/lslogins
-rwxr-xr-x root/root     39296 2024-04-09 14:02 ./usr/bin/lsmem
-rwxr-xr-x root/root     43400 2024-04-09 14:02 ./usr/bin/lsns
-rwxr-xr-x root/root     27080 2024-04-09 14:02 ./usr/bin/mcookie
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/bin/mesg
-rwxr-xr-x root/root     47496 2024-04-09 14:02 ./usr/bin/more
-rwxr-xr-x root/root     18816 2024-04-09 14:02 ./usr/bin/mountpoint
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/namei
-rwxr-xr-x root/root     31336 2024-04-09 14:02 ./usr/bin/nsenter
-rwxr-xr-x root/root     63880 2024-04-09 14:02 ./usr/bin/partx
-rwxr-xr-x root/root     27536 2024-04-09 14:02 ./usr/bin/prlimit
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/rename.ul
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/resizepart
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/bin/rev
-rwxr-xr-x root/root     27288 2024-04-09 14:02 ./usr/bin/setarch
-rwxr-xr-x root/root     39304 2024-04-09 14:02 ./usr/bin/setpriv
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/bin/setsid
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/bin/setterm
-rwsr-xr-x root/root     55680 2024-04-09 14:02 ./usr/bin/su
-rwxr-xr-x root/root     31104 2024-04-09 14:02 ./usr/bin/taskset
-rwxr-xr-x root/root     31104 2024-04-09 14:02 ./usr/bin/uclampset
-rwxr-xr-x root/root     43624 2024-04-09 14:02 ./usr/bin/unshare
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/bin/utmpdump
-rwxr-xr-x root/root     35224 2024-04-09 14:02 ./usr/bin/wdctl
-rwxr-xr-x root/root     31576 2024-04-09 14:02 ./usr/bin/whereis
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/lib/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/lib/mime/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/lib/mime/packages/
-rw-r--r-- root/root        90 2024-03-03 08:36 ./usr/lib/mime/packages/util-linux
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/lib/systemd/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/lib/systemd/system/
-rw-r--r-- root/root       477 2024-04-09 14:02 ./usr/lib/systemd/system/fstrim.service
-rw-r--r-- root/root       283 2024-04-09 14:02 ./usr/lib/systemd/system/fstrim.timer
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/sbin/
-rwxr-xr-x root/root     60992 2024-04-09 14:02 ./usr/sbin/agetty
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/sbin/blkdiscard
-rwxr-xr-x root/root     55720 2024-04-09 14:02 ./usr/sbin/blkid
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/sbin/blkzone
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/sbin/blockdev
-rwxr-xr-x root/root     31104 2024-04-09 14:02 ./usr/sbin/chcpu
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/sbin/chmem
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/ctrlaltdel
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/findfs
-rwxr-xr-x root/root     43440 2024-04-09 14:02 ./usr/sbin/fsck
-rwxr-xr-x root/root     31168 2024-04-09 14:02 ./usr/sbin/fsck.cramfs
-rwxr-xr-x root/root     55712 2024-04-09 14:02 ./usr/sbin/fsck.minix
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/fsfreeze
-rwxr-xr-x root/root     43392 2024-04-09 14:02 ./usr/sbin/fstrim
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/isosize
-rwxr-xr-x root/root     27008 2024-04-09 14:02 ./usr/sbin/ldattach
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/mkfs
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/sbin/mkfs.bfs
-rwxr-xr-x root/root     35144 2024-04-09 14:02 ./usr/sbin/mkfs.cramfs
-rwxr-xr-x root/root     43408 2024-04-09 14:02 ./usr/sbin/mkfs.minix
-rwxr-xr-x root/root     51592 2024-04-09 14:02 ./usr/sbin/mkswap
-rwxr-xr-x root/root     14720 2024-04-09 14:02 ./usr/sbin/pivot_root
-rwxr-xr-x root/root     22944 2024-04-09 14:02 ./usr/sbin/readprofile
-rwxr-xr-x root/root     35200 2024-04-09 14:02 ./usr/sbin/rtcwake
-rwxr-xr-x root/root     55680 2024-04-09 14:02 ./usr/sbin/runuser
-rwxr-xr-x root/root     43392 2024-04-09 14:02 ./usr/sbin/sulogin
-rwxr-xr-x root/root     18816 2024-04-09 14:02 ./usr/sbin/swaplabel
-rwxr-xr-x root/root     22912 2024-04-09 14:02 ./usr/sbin/switch_root
-rwxr-xr-x root/root     39296 2024-04-09 14:02 ./usr/sbin/wipefs
-rwxr-xr-x root/root     55824 2024-04-09 14:02 ./usr/sbin/zramctl
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/bash-completion/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/bash-completion/completions/
-rw-r--r-- root/root       484 2024-04-09 14:02 ./usr/share/bash-completion/completions/addpart
-rw-r--r-- root/root       698 2024-04-09 14:02 ./usr/share/bash-completion/completions/blkdiscard
-rw-r--r-- root/root      2151 2024-04-09 14:02 ./usr/share/bash-completion/completions/blkid
-rw-r--r-- root/root      1014 2024-04-09 14:02 ./usr/share/bash-completion/completions/blkzone
-rw-r--r-- root/root       775 2024-04-09 14:02 ./usr/share/bash-completion/completions/blockdev
-rw-r--r-- root/root      1522 2024-04-09 14:02 ./usr/share/bash-completion/completions/chcpu
-rw-r--r-- root/root       501 2024-04-09 14:02 ./usr/share/bash-completion/completions/chmem
-rw-r--r-- root/root       920 2024-04-09 14:02 ./usr/share/bash-completion/completions/chrt
-rw-r--r-- root/root       335 2024-04-09 14:02 ./usr/share/bash-completion/completions/ctrlaltdel
-rw-r--r-- root/root       563 2024-04-09 14:02 ./usr/share/bash-completion/completions/delpart
-rw-r--r-- root/root      1239 2024-04-09 14:02 ./usr/share/bash-completion/completions/dmesg
-rw-r--r-- root/root       721 2024-04-09 14:02 ./usr/share/bash-completion/completions/fallocate
-rw-r--r-- root/root       695 2024-04-09 14:02 ./usr/share/bash-completion/completions/findfs
-rw-r--r-- root/root      3195 2024-04-09 14:02 ./usr/share/bash-completion/completions/findmnt
-rw-r--r-- root/root       874 2024-04-09 14:02 ./usr/share/bash-completion/completions/flock
-rw-r--r-- root/root       770 2024-04-09 14:02 ./usr/share/bash-completion/completions/fsck
-rw-r--r-- root/root       702 2024-04-09 14:02 ./usr/share/bash-completion/completions/fsck.cramfs
-rw-r--r-- root/root       418 2024-04-09 14:02 ./usr/share/bash-completion/completions/fsck.minix
-rw-r--r-- root/root       524 2024-04-09 14:02 ./usr/share/bash-completion/completions/fsfreeze
-rw-r--r-- root/root       755 2024-04-09 14:02 ./usr/share/bash-completion/completions/fstrim
-rw-r--r-- root/root       815 2024-04-09 14:02 ./usr/share/bash-completion/completions/getopt
-rw-r--r-- root/root      1400 2024-04-09 14:02 ./usr/share/bash-completion/completions/hardlink
-rw-r--r-- root/root      1161 2024-04-09 14:02 ./usr/share/bash-completion/completions/ionice
-rw-r--r-- root/root       576 2024-04-09 14:02 ./usr/share/bash-completion/completions/ipcmk
-rw-r--r-- root/root      1423 2024-04-09 14:02 ./usr/share/bash-completion/completions/ipcrm
-rw-r--r-- root/root       514 2024-04-09 14:02 ./usr/share/bash-completion/completions/ipcs
-rw-r--r-- root/root       529 2024-04-09 14:02 ./usr/share/bash-completion/completions/isosize
-rw-r--r-- root/root       949 2024-04-09 14:02 ./usr/share/bash-completion/completions/last
-rw-r--r-- root/root      1472 2024-04-09 14:02 ./usr/share/bash-completion/completions/ldattach
-rw-r--r-- root/root      2239 2024-04-09 14:02 ./usr/share/bash-completion/completions/lsblk
-rw-r--r-- root/root      1066 2024-04-09 14:02 ./usr/share/bash-completion/completions/lscpu
-rw-r--r-- root/root      1310 2024-04-09 14:02 ./usr/share/bash-completion/completions/lsipc
-rw-r--r-- root/root      1084 2024-04-09 14:02 ./usr/share/bash-completion/completions/lslocks
-rw-r--r-- root/root      1751 2024-04-09 14:02 ./usr/share/bash-completion/completions/lslogins
-rw-r--r-- root/root      1069 2024-04-09 14:02 ./usr/share/bash-completion/completions/lsmem
-rw-r--r-- root/root      1209 2024-04-09 14:02 ./usr/share/bash-completion/completions/lsns
-rw-r--r-- root/root       599 2024-04-09 14:02 ./usr/share/bash-completion/completions/mcookie
-rw-r--r-- root/root       412 2024-04-09 14:02 ./usr/share/bash-completion/completions/mesg
-rw-r--r-- root/root       659 2024-04-09 14:02 ./usr/share/bash-completion/completions/mkfs
-rw-r--r-- root/root       677 2024-04-09 14:02 ./usr/share/bash-completion/completions/mkfs.bfs
-rw-r--r-- root/root       839 2024-04-09 14:02 ./usr/share/bash-completion/completions/mkfs.cramfs
-rw-r--r-- root/root       749 2024-04-09 14:02 ./usr/share/bash-completion/completions/mkfs.minix
-rw-r--r-- root/root       876 2024-04-09 14:02 ./usr/share/bash-completion/completions/mkswap
-rw-r--r-- root/root       752 2024-04-09 14:02 ./usr/share/bash-completion/completions/more
-rw-r--r-- root/root       498 2024-04-09 14:02 ./usr/share/bash-completion/completions/mountpoint
-rw-r--r-- root/root       500 2024-04-09 14:02 ./usr/share/bash-completion/completions/namei
-rw-r--r-- root/root      1219 2024-04-09 14:02 ./usr/share/bash-completion/completions/nsenter
-rw-r--r-- root/root      1301 2024-04-09 14:02 ./usr/share/bash-completion/completions/partx
-rw-r--r-- root/root       387 2024-04-09 14:02 ./usr/share/bash-completion/completions/pivot_root
-rw-r--r-- root/root      1329 2024-04-09 14:02 ./usr/share/bash-completion/completions/prlimit
-rw-r--r-- root/root       679 2024-04-09 14:02 ./usr/share/bash-completion/completions/readprofile
-rw-r--r-- root/root       605 2024-04-09 14:02 ./usr/share/bash-completion/completions/resizepart
-rw-r--r-- root/root       439 2024-04-09 14:02 ./usr/share/bash-completion/completions/rev
-rw-r--r-- root/root      1081 2024-04-09 14:02 ./usr/share/bash-completion/completions/rtcwake
-rw-r--r-- root/root       790 2024-04-09 14:02 ./usr/share/bash-completion/completions/setarch
-rw-r--r-- root/root      2829 2024-04-09 14:02 ./usr/share/bash-completion/completions/setpriv
-rw-r--r-- root/root       440 2024-04-09 14:02 ./usr/share/bash-completion/completions/setsid
-rw-r--r-- root/root      2591 2024-04-09 14:02 ./usr/share/bash-completion/completions/setterm
-rw-r--r-- root/root       892 2024-04-09 14:02 ./usr/share/bash-completion/completions/su
-rw-r--r-- root/root       635 2024-04-09 14:02 ./usr/share/bash-completion/completions/swaplabel
-rw-r--r-- root/root      1213 2024-04-09 14:02 ./usr/share/bash-completion/completions/taskset
-rw-r--r-- root/root       665 2024-04-09 14:02 ./usr/share/bash-completion/completions/uclampset
-rw-r--r-- root/root       936 2024-04-09 14:02 ./usr/share/bash-completion/completions/unshare
-rw-r--r-- root/root       475 2024-04-09 14:02 ./usr/share/bash-completion/completions/utmpdump
-rw-r--r-- root/root      1371 2024-04-09 14:02 ./usr/share/bash-completion/completions/wdctl
-rw-r--r-- root/root       531 2024-04-09 14:02 ./usr/share/bash-completion/completions/whereis
-rw-r--r-- root/root      1238 2024-04-09 14:02 ./usr/share/bash-completion/completions/wipefs
-rw-r--r-- root/root      1290 2024-04-09 14:02 ./usr/share/bash-completion/completions/zramctl
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/doc/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/doc/util-linux/
-rw-r--r-- root/root       260 2023-10-23 20:04 ./usr/share/doc/util-linux/00-about-docs.txt
-rw-r--r-- root/root     16812 2023-12-04 12:28 ./usr/share/doc/util-linux/AUTHORS.gz
-rw-r--r-- root/root       671 2023-10-23 20:04 ./usr/share/doc/util-linux/PAM-configuration.txt
-rw-r--r-- root/root       481 2024-03-03 08:36 ./usr/share/doc/util-linux/README.Debian
-rw-r--r-- root/root      3258 2023-10-23 20:04 ./usr/share/doc/util-linux/blkid.txt
-rw-r--r-- root/root      2262 2023-10-23 20:04 ./usr/share/doc/util-linux/cal.txt
-rw-r--r-- root/root      1913 2023-10-23 20:04 ./usr/share/doc/util-linux/col.txt
-rw-r--r-- root/root     23160 2024-03-03 08:36 ./usr/share/doc/util-linux/copyright
-rw-r--r-- root/root      3087 2023-11-21 08:46 ./usr/share/doc/util-linux/deprecated.txt
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/doc/util-linux/examples/
-rw-r--r-- root/root      1594 2024-04-09 14:02 ./usr/share/doc/util-linux/examples/getopt-example.bash
-rw-r--r-- root/root      2256 2024-04-09 14:02 ./usr/share/doc/util-linux/examples/getopt-example.tcsh
-rw-r--r-- root/root       992 2023-10-23 20:04 ./usr/share/doc/util-linux/getopt.txt
-rw-r--r-- root/root      1927 2023-10-23 20:04 ./usr/share/doc/util-linux/getopt_changelog.txt
-rw-r--r-- root/root      3193 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-build-sys.txt
-rw-r--r-- root/root      2945 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-compilation.txt
-rw-r--r-- root/root      3479 2023-11-30 10:26 ./usr/share/doc/util-linux/howto-contribute.txt.gz
-rw-r--r-- root/root      2437 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-debug.txt
-rw-r--r-- root/root       126 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-man-page.txt
-rw-r--r-- root/root      4382 2023-11-30 10:26 ./usr/share/doc/util-linux/howto-pull-request.txt.gz
-rw-r--r-- root/root      3964 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-tests.txt
-rw-r--r-- root/root      2328 2023-10-23 20:04 ./usr/share/doc/util-linux/howto-usage-function.txt.gz
-rw-r--r-- root/root       147 2023-10-23 20:04 ./usr/share/doc/util-linux/hwclock.txt
-rw-r--r-- root/root      2614 2023-10-23 20:04 ./usr/share/doc/util-linux/modems-with-agetty.txt
-rw-r--r-- root/root       521 2023-10-23 20:04 ./usr/share/doc/util-linux/mount.txt
-rw-r--r-- root/root      8124 2023-10-23 20:04 ./usr/share/doc/util-linux/parse-date.txt.gz
-rw-r--r-- root/root       448 2023-10-23 20:04 ./usr/share/doc/util-linux/pg.txt
-rw-r--r-- root/root      8867 2023-10-23 20:04 ./usr/share/doc/util-linux/poeigl.txt.gz
-rw-r--r-- root/root      1354 2023-10-23 20:04 ./usr/share/doc/util-linux/release-schedule.txt
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/doc/util-linux/releases/
-rw-r--r-- root/root      7295 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.13-ReleaseNotes.gz
-rw-r--r-- root/root      6369 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.14-ReleaseNotes.gz
-rw-r--r-- root/root      9424 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.15-ReleaseNotes.gz
-rw-r--r-- root/root      2928 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.16-ReleaseNotes.gz
-rw-r--r-- root/root      6431 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.17-ReleaseNotes.gz
-rw-r--r-- root/root      7076 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.18-ReleaseNotes.gz
-rw-r--r-- root/root      8947 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.19-ReleaseNotes.gz
-rw-r--r-- root/root     13091 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.20-ReleaseNotes.gz
-rw-r--r-- root/root     12371 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.21-ReleaseNotes.gz
-rw-r--r-- root/root     14578 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.22-ReleaseNotes.gz
-rw-r--r-- root/root     15489 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.23-ReleaseNotes.gz
-rw-r--r-- root/root     12347 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.24-ReleaseNotes.gz
-rw-r--r-- root/root     17705 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.25-ReleaseNotes.gz
-rw-r--r-- root/root     15216 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.26-ReleaseNotes.gz
-rw-r--r-- root/root     11499 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.27-ReleaseNotes.gz
-rw-r--r-- root/root     10609 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.28-ReleaseNotes.gz
-rw-r--r-- root/root      8232 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.29-ReleaseNotes.gz
-rw-r--r-- root/root     10830 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.30-ReleaseNotes.gz
-rw-r--r-- root/root      9774 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.31-ReleaseNotes.gz
-rw-r--r-- root/root      7536 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.32-ReleaseNotes.gz
-rw-r--r-- root/root      8461 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.33-ReleaseNotes.gz
-rw-r--r-- root/root      8818 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.34-ReleaseNotes.gz
-rw-r--r-- root/root      8181 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.35-ReleaseNotes.gz
-rw-r--r-- root/root     10216 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.36-ReleaseNotes.gz
-rw-r--r-- root/root     15094 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.37-ReleaseNotes.gz
-rw-r--r-- root/root     15096 2023-10-23 20:04 ./usr/share/doc/util-linux/releases/v2.38-ReleaseNotes.gz
-rw-r--r-- root/root     20676 2023-11-21 08:46 ./usr/share/doc/util-linux/releases/v2.39-ReleaseNotes.gz
-rw-r--r-- root/root      1909 2023-12-01 11:25 ./usr/share/doc/util-linux/releases/v2.39.1-ReleaseNotes.gz
-rw-r--r-- root/root      2098 2023-12-01 11:25 ./usr/share/doc/util-linux/releases/v2.39.2-ReleaseNotes
-rw-r--r-- root/root      1887 2023-12-04 12:31 ./usr/share/doc/util-linux/releases/v2.39.3-ReleaseNotes.gz
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       106 2024-03-03 08:36 ./usr/share/lintian/overrides/util-linux
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/man/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/man/man1/
-rw-r--r-- root/root      1660 2024-04-09 14:02 ./usr/share/man/man1/choom.1.gz
-rw-r--r-- root/root      2315 2024-04-09 14:02 ./usr/share/man/man1/chrt.1.gz
-rw-r--r-- root/root      3774 2024-04-09 14:02 ./usr/share/man/man1/dmesg.1.gz
-rw-r--r-- root/root      2523 2024-04-09 14:02 ./usr/share/man/man1/fallocate.1.gz
-rw-r--r-- root/root      2854 2024-04-09 14:02 ./usr/share/man/man1/flock.1.gz
-rw-r--r-- root/root      4744 2024-04-09 14:02 ./usr/share/man/man1/getopt.1.gz
-rw-r--r-- root/root      3347 2024-04-09 14:02 ./usr/share/man/man1/hardlink.1.gz
-rw-r--r-- root/root      2180 2024-04-09 14:02 ./usr/share/man/man1/ionice.1.gz
-rw-r--r-- root/root      1081 2024-04-09 14:02 ./usr/share/man/man1/ipcmk.1.gz
-rw-r--r-- root/root      1868 2024-04-09 14:02 ./usr/share/man/man1/ipcrm.1.gz
-rw-r--r-- root/root      1905 2024-04-09 14:02 ./usr/share/man/man1/ipcs.1.gz
-rw-r--r-- root/root      2470 2024-04-09 14:02 ./usr/share/man/man1/last.1.gz
-rw-r--r-- root/root      3127 2024-04-09 14:02 ./usr/share/man/man1/lscpu.1.gz
-rw-r--r-- root/root      2001 2024-04-09 14:02 ./usr/share/man/man1/lsipc.1.gz
-rw-r--r-- root/root      2734 2024-04-09 14:02 ./usr/share/man/man1/lslogins.1.gz
-rw-r--r-- root/root      2272 2024-04-09 14:02 ./usr/share/man/man1/lsmem.1.gz
-rw-r--r-- root/root      1325 2024-04-09 14:02 ./usr/share/man/man1/mcookie.1.gz
-rw-r--r-- root/root      1396 2024-04-09 14:02 ./usr/share/man/man1/mesg.1.gz
-rw-r--r-- root/root      2654 2024-04-09 14:02 ./usr/share/man/man1/more.1.gz
-rw-r--r-- root/root      1198 2024-04-09 14:02 ./usr/share/man/man1/mountpoint.1.gz
-rw-r--r-- root/root      1532 2024-04-09 14:02 ./usr/share/man/man1/namei.1.gz
-rw-r--r-- root/root      2972 2024-04-09 14:02 ./usr/share/man/man1/nsenter.1.gz
-rw-r--r-- root/root      2034 2024-04-09 14:02 ./usr/share/man/man1/prlimit.1.gz
-rw-r--r-- root/root      1967 2024-04-09 14:02 ./usr/share/man/man1/rename.ul.1.gz
-rw-r--r-- root/root       904 2024-04-09 14:02 ./usr/share/man/man1/rev.1.gz
-rw-r--r-- root/root      3096 2024-04-09 14:02 ./usr/share/man/man1/runuser.1.gz
-rw-r--r-- root/root      3247 2024-04-09 14:02 ./usr/share/man/man1/setpriv.1.gz
-rw-r--r-- root/root       938 2024-04-09 14:02 ./usr/share/man/man1/setsid.1.gz
-rw-r--r-- root/root      3467 2024-04-09 14:02 ./usr/share/man/man1/setterm.1.gz
-rw-r--r-- root/root      3567 2024-04-09 14:02 ./usr/share/man/man1/su.1.gz
-rw-r--r-- root/root      2502 2024-04-09 14:02 ./usr/share/man/man1/taskset.1.gz
-rw-r--r-- root/root      2056 2024-04-09 14:02 ./usr/share/man/man1/uclampset.1.gz
-rw-r--r-- root/root      5701 2024-04-09 14:02 ./usr/share/man/man1/unshare.1.gz
-rw-r--r-- root/root      1361 2024-04-09 14:02 ./usr/share/man/man1/utmpdump.1.gz
-rw-r--r-- root/root      2023 2024-04-09 14:02 ./usr/share/man/man1/whereis.1.gz
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/man/man5/
-rw-r--r-- root/root      1462 2024-04-09 14:02 ./usr/share/man/man5/adjtime_config.5.gz
-rw-r--r-- root/root      2338 2024-04-09 14:02 ./usr/share/man/man5/terminal-colors.d.5.gz
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/man/man8/
-rw-r--r-- root/root       873 2024-04-09 14:02 ./usr/share/man/man8/addpart.8.gz
-rw-r--r-- root/root      7795 2024-04-09 14:02 ./usr/share/man/man8/agetty.8.gz
-rw-r--r-- root/root      1817 2024-04-09 14:02 ./usr/share/man/man8/blkdiscard.8.gz
-rw-r--r-- root/root      4905 2024-04-09 14:02 ./usr/share/man/man8/blkid.8.gz
-rw-r--r-- root/root      1983 2024-04-09 14:02 ./usr/share/man/man8/blkzone.8.gz
-rw-r--r-- root/root      1603 2024-04-09 14:02 ./usr/share/man/man8/blockdev.8.gz
-rw-r--r-- root/root      1551 2024-04-09 14:02 ./usr/share/man/man8/chcpu.8.gz
-rw-r--r-- root/root      2042 2024-04-09 14:02 ./usr/share/man/man8/chmem.8.gz
-rw-r--r-- root/root      1138 2024-04-09 14:02 ./usr/share/man/man8/ctrlaltdel.8.gz
-rw-r--r-- root/root       811 2024-04-09 14:02 ./usr/share/man/man8/delpart.8.gz
-rw-r--r-- root/root      1215 2024-04-09 14:02 ./usr/share/man/man8/findfs.8.gz
-rw-r--r-- root/root      4860 2024-04-09 14:02 ./usr/share/man/man8/findmnt.8.gz
-rw-r--r-- root/root      4793 2024-04-09 14:02 ./usr/share/man/man8/fsck.8.gz
-rw-r--r-- root/root      1005 2024-04-09 14:02 ./usr/share/man/man8/fsck.cramfs.8.gz
-rw-r--r-- root/root      2129 2024-04-09 14:02 ./usr/share/man/man8/fsck.minix.8.gz
-rw-r--r-- root/root      1666 2024-04-09 14:02 ./usr/share/man/man8/fsfreeze.8.gz
-rw-r--r-- root/root      3015 2024-04-09 14:02 ./usr/share/man/man8/fstrim.8.gz
-rw-r--r-- root/root      1169 2024-04-09 14:02 ./usr/share/man/man8/isosize.8.gz
-rw-r--r-- root/root      2125 2024-04-09 14:02 ./usr/share/man/man8/ldattach.8.gz
-rw-r--r-- root/root      4107 2024-04-09 14:02 ./usr/share/man/man8/lsblk.8.gz
-rw-r--r-- root/root      1976 2024-04-09 14:02 ./usr/share/man/man8/lslocks.8.gz
-rw-r--r-- root/root      1909 2024-04-09 14:02 ./usr/share/man/man8/lsns.8.gz
-rw-r--r-- root/root      1581 2024-04-09 14:02 ./usr/share/man/man8/mkfs.8.gz
-rw-r--r-- root/root      1333 2024-04-09 14:02 ./usr/share/man/man8/mkfs.bfs.8.gz
-rw-r--r-- root/root      1667 2024-04-09 14:02 ./usr/share/man/man8/mkfs.cramfs.8.gz
-rw-r--r-- root/root      1710 2024-04-09 14:02 ./usr/share/man/man8/mkfs.minix.8.gz
-rw-r--r-- root/root      2813 2024-04-09 14:02 ./usr/share/man/man8/mkswap.8.gz
-rw-r--r-- root/root      2527 2024-04-09 14:02 ./usr/share/man/man8/partx.8.gz
-rw-r--r-- root/root      1510 2024-04-09 14:02 ./usr/share/man/man8/pivot_root.8.gz
-rw-r--r-- root/root      2433 2024-04-09 14:02 ./usr/share/man/man8/readprofile.8.gz
-rw-r--r-- root/root       865 2024-04-09 14:02 ./usr/share/man/man8/resizepart.8.gz
-rw-r--r-- root/root      3155 2024-04-09 14:02 ./usr/share/man/man8/rtcwake.8.gz
-rw-r--r-- root/root      2350 2024-04-09 14:02 ./usr/share/man/man8/setarch.8.gz
-rw-r--r-- root/root      1457 2024-04-09 14:02 ./usr/share/man/man8/sulogin.8.gz
-rw-r--r-- root/root      1207 2024-04-09 14:02 ./usr/share/man/man8/swaplabel.8.gz
-rw-r--r-- root/root      1105 2024-04-09 14:02 ./usr/share/man/man8/switch_root.8.gz
-rw-r--r-- root/root      1398 2024-04-09 14:02 ./usr/share/man/man8/wdctl.8.gz
-rw-r--r-- root/root      2704 2024-04-09 14:02 ./usr/share/man/man8/wipefs.8.gz
-rw-r--r-- root/root      2150 2024-04-09 14:02 ./usr/share/man/man8/zramctl.8.gz
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/util-linux/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/util-linux/logcheck/
drwxr-xr-x root/root         0 2024-04-09 14:02 ./usr/share/util-linux/logcheck/ignore.d.server/
-rw-r--r-- root/root       155 2024-04-09 14:02 ./usr/share/util-linux/logcheck/ignore.d.server/util-linux
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/bin/i386 -> setarch
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/bin/lastb -> last
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/bin/linux32 -> setarch
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/bin/linux64 -> setarch
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/bin/x86_64 -> setarch
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/sbin/getty -> agetty
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/bash-completion/completions/lastb -> last
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/bash-completion/completions/runuser -> su
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/doc/util-linux/changelog.Debian.gz -> ../libmount1/changelog.Debian.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man1/lastb.1.gz -> last.1.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man8/getty.8.gz -> agetty.8.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man8/i386.8.gz -> setarch.8.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man8/linux32.8.gz -> setarch.8.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man8/linux64.8.gz -> setarch.8.gz
lrwxrwxrwx root/root         0 2024-04-09 14:02 ./usr/share/man/man8/x86_64.8.gz -> setarch.8.gz

ubuntu-24.04 release doesn't seem to work

I am unable to build a simple chiseled container using ubuntu-24.04:

Example Dockerfile:

FROM ubuntu:22.04 AS chisel
ADD https://github.com/canonical/chisel/releases/download/v0.9.0/chisel_v0.9.0_linux_amd64.tar.gz chisel.tar.gz
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates && \
    tar -xvf chisel.tar.gz -C /usr/bin/ && \
    mkdir -p /rootfs && \
    chisel cut --release ubuntu-24.04 --root /rootfs \
      base-files_base \
      base-files_release-info \
      base-passwd_data \
      libc6_config \
      libc6_libs \
      libgcc-s1_libs \
      dash_bins

FROM scratch
COPY --from=chisel /rootfs /
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["echo foo"]

If I then try to build & execute this container, I get an error:

$ docker build . -t foo:1 && docker run -it --rm foo:1
...
exec /bin/sh: no such file or directory

Simply changing to ubuntu-22.04 as follows:

FROM ubuntu:22.04 AS chisel
ADD https://github.com/canonical/chisel/releases/download/v0.9.0/chisel_v0.9.0_linux_amd64.tar.gz chisel.tar.gz
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates && \
    tar -xvf chisel.tar.gz -C /usr/bin/ && \
    mkdir -p /rootfs && \
    chisel cut --release ubuntu-22.04 --root /rootfs \
      base-files_base \
      base-files_release-info \
      base-passwd_data \
      libc6_config \
      libc6_libs \
      libgcc-s1_libs \
      dash_bins

FROM scratch
COPY --from=chisel /rootfs /
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["echo foo"]

And then building & executing this container works:

$ docker build . -t bar:1 && docker run -it --rm bar:1
...
foo

Is there some package/slice that was introduced in 24.04 that I am missing that needs to be added in order to build a simple chiseled container?

refactor the openssl slices

          > I've edited the file to place `/usr/lib/ssl/cert.pem` in a `data` slice instead, since that's a symlink to a data file from ca-certificates. Hope that's ok

I think in this case, we will need a to modify the slice to something like this:

package: openssl

slices:
  libs:
    essential:
      - libc6_libs
      - libc6_config
      - libssl3_libs
      - openssl_config
      - openssl_data
  bins:
    essential:
      - openssl_libs
    contents:
      /usr/bin/c_rehash:
      /usr/bin/openssl:

  config:
    contents:
      /etc/ssl/private/:
      /etc/ssl/openssl.cnf:
      /usr/lib/ssl/certs:
      /usr/lib/ssl/openssl.cnf:
      /usr/lib/ssl/private:

  data:
    contents:
      /usr/lib/ssl/cert.pem:

... so that if the applications only need the libraries and data, they can include libraries and data without the OpenSSL tools.

Originally posted by @liushuyu in #40 (comment)

[epic] Add libboost-* slices

I need some libboost-* slices for a container image I'm working on, and I'll create issues here to track it.

libboost- has many individual packages, and I'm proposing adding all of them here, and track as individual items I will be working on separate PRs, since I don't plan to do all of them myself, at least not immediately.

  • #244
  • 23.10
  • 22.04
  • 20.04

Chiseled `ca-certificates` is incompatible with OpenSSL

The chiseled version of ca-certificates, ca-certificates_data, retains only the single file, the CA certificate bundle at /etc/ssl/certs/ca-certificates.crt. However, this file is not default loaded by OpenSSL and applications that use OpenSSL, such as Python.

OpenSSL typically reads CA certificates from two default system locations:

  1. A single file, which in Ubuntu is located at /usr/lib/ssl/cert.pem. This location can be overridden by setting the SSL_CERT_FILE environment variable.
  2. A directory, located in Ubuntu at /usr/lib/ssl/certs/, which contains CA certificates named using the format <hash>.<idx> (e.g., 9d66eef0.0, 9d66eef0.1).

The file /usr/lib/ssl/certs/ca-certificates.crt kept by the chiseled ca-certificates_data does not correspond to these locations. As a result, applications using OpenSSL, including Python’s standard libraries, encounter SSL verification failures.

There are two potential solutions to this issue. One option is to create a symbolic link from /usr/lib/ssl/cert.pem pointed to /etc/ssl/certs/ca-certificates.crt. Alternatively, the entire content of the /usr/lib/ssl/certs/ directory could be kept, rather than just the ca-certificates.crt file.

Below is an example rockcraft file to demonstrate the issue:

name: test
description: test
summary: test
version: 1.1.1
base: [email protected]
platforms:
  amd64:
license: Apache-2.0
parts:
  ca-certificates:
    plugin: nil
    stage-packages:
      - ca-certificates_data
  openssl:
    plugin: nil
    stage-packages:
      - openssl

The following command can be used to observe the certificate verification failure:

openssl s_client -connect example.com:443 -servername example.com -showcerts
# ...
#     Verify return code: 20 (unable to get local issuer certificate)
# ...

Where is the slice for Systemd?

RIght now all the slices are given considering we are creating a base image "From scratch", this will mean that our containers can only run single binaries which we have provided.

How can we chisel a image such that we can run multiple processes?

  1. how can we create docker image with supporting packages like : apt, systemd
  2. If we want additional packages like apache2 inside our docker image, how can we assemble it?

Python 3.11. slices not found for 22.04

Hi, I was attempting to try out chisel with on Ubuntu 22.04 with python3.11 but ran into the following error:

% docker build . 
[+] Building 1.0s (11/12)                                                                                                                                                                                       

... 

 => ERROR [builder 7/7] RUN chisel cut --release /opt/chisel-releases --root /rootfs     base-files_base     base-files_release-info     tzdata_zoneinfo     ca-certificates_data     libc-bin_nsswitch     libgcc-s1_li  0.2s
------                                                                                                                                                                                                                         
 > [builder 7/7] RUN chisel cut --release /opt/chisel-releases --root /rootfs     base-files_base     base-files_release-info     tzdata_zoneinfo     ca-certificates_data     libc-bin_nsswitch     libgcc-s1_libs     libc6_libs     openssl_config     python3.11_standard:
0.177 + chisel cut --release /opt/chisel-releases --root /rootfs base-files_base base-files_release-info tzdata_zoneinfo ca-certificates_data libc-bin_nsswitch libgcc-s1_libs libc6_libs openssl_config python3.11_standard
0.179 2024/05/30 18:22:09 Processing /opt/chisel-releases release...
0.226 2024/05/30 18:22:09 Selecting slices...
0.226 error: slices of package "python3.11" not found
------
Dockerfile:24
--------------------
  23 |     
  24 | >>> RUN chisel cut --release /opt/chisel-releases --root /rootfs \
  25 | >>>     base-files_base \
  26 | >>>     base-files_release-info \
  27 | >>>     tzdata_zoneinfo \
  28 | >>>     ca-certificates_data \
  29 | >>>     libc-bin_nsswitch \
  30 | >>>     libgcc-s1_libs \
  31 | >>>     libc6_libs \
  32 | >>>     openssl_config \
  33 | >>>     python3.11_standard
  34 |     
--------------------
ERROR: failed to solve: process "/bin/bash -oeux pipefail -c chisel cut --release /opt/chisel-releases --root /rootfs     base-files_base     base-files_release-info     tzdata_zoneinfo     ca-certificates_data     libc-bin_nsswitch     libgcc-s1_libs     libc6_libs     openssl_config     python3.11_standard" did not complete successfully: exit code: 1

It seems that there may be a problem with the python yaml file, although I'm not sure where to start debugging since it looks pretty similar to the other yaml files that work correctly... I used this Dockerfile with openssl_config and python3.11_standard added to the chisel cut command. Any guidance on how to get this up and running or where to start looking to debug python3.11.yaml would be appreciated. Thanks!

libdb5.3 slice broken in ubuntu-24.04

The libdb5.3 slice appears to be broken in ubuntu-24.04:

$ chisel cut --release ubuntu-24.04 --root foo libdb5.3_libs  
2024/04/08 07:40:47 Consulting release repository...
2024/04/08 07:40:48 Cached ubuntu-24.04 release is still up-to-date.
2024/04/08 07:40:48 Processing ubuntu-24.04 release...
2024/04/08 07:40:48 Selecting slices...
2024/04/08 07:40:48 Fetching ubuntu 24.04 noble suite details...
2024/04/08 07:40:48 Release date: Mon, 08 Apr 2024 10:41:46 UTC
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble main component...
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble universe component...
2024/04/08 07:40:48 Fetching ubuntu 24.04 noble-security suite details...
2024/04/08 07:40:48 Release date: Thu, 04 Jan 2024 18:43:12 UTC
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble-security main component...
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble-security universe component...
2024/04/08 07:40:48 Fetching ubuntu 24.04 noble-updates suite details...
2024/04/08 07:40:48 Release date: Mon, 08 Apr 2024 10:42:37 UTC
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble-updates main component...
2024/04/08 07:40:48 Fetching index for ubuntu 24.04 noble-updates universe component...
error: slice package "libdb5.3" missing from archive

I don't quite understand why chisel seems to believe the libdb5.3 package does not exist?
It seems to exist from what I can see?

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu Noble Numbat (development branch)
Release:	24.04
Codename:	noble

$ apt-cache show libdb5.3
Package: libdb5.3
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 1772
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Multi-Arch: same
Source: db5.3
Version: 5.3.28+dfsg2-4
Depends: libc6 (>= 2.38)
Description: Berkeley v5.3 Database Libraries [runtime]
 This is the runtime package for programs that use the v5.3 Berkeley
 database library.
Description-md5: 
Original-Maintainer: Debian QA Group <[email protected]>
Homepage: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html

Create crun and uidmap slice

ubuntu:22.04

root@abf2f5b09a8f:/# dpkg -I /var/cache/apt/archives/crun_0.17+dfsg-1.1_riscv64.deb 
 new Debian package, version 2.0.
 size 740384 bytes: control archive=767 bytes.
     657 bytes,    13 lines      control              
     382 bytes,     6 lines      md5sums              
 Package: crun
 Version: 0.17+dfsg-1.1
 Architecture: riscv64
 Maintainer: Ubuntu Developers <[email protected]>
 Original-Maintainer: Dmitry Smirnov <[email protected]>
 Installed-Size: 5292
 Depends: libc6 (>= 2.34), libcap2 (>= 1:2.10), libseccomp2 (>= 2.2.1), libsystemd0 (>= 237), libyajl2 (>= 2.0.4)
 Built-Using: golang-github-opencontainers-image-spec (= 1.0.2-2), golang-github-opencontainers-specs (= 1.0.2.66.g20a2d97-1)
 Section: admin
 Priority: optional
 Homepage: https://github.com/containers/crun
 Description: lightweight OCI runtime for running containers
  Fast and low-memory footprint OCI Container Runtime fully written in C.

If I got things right, we'll need these slices definitions:

  • crun
  • libcap2
  • liblz4
  • libseccomp2
  • libsystemd0
  • libyajl2
  • libaudit-common
  • libaudit1
  • libcap-ng0
  • uidmap

I pretend to work on those.

[epic] Add procps slice

procps

This is an [epic] issue where I propose the addition of the procps slice.

I'll create sub-issues to handle them individually for better discuss any issue that may occur while working on them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.