DEMO
构建
# 构建资源
docker build -t shortener:test -f shortener.yml --target=noble --output=_output .
# 查看制品
ls _output/
shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4.orig.tar.gz shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1.debian.tar.xz shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1_source.buildinfo
shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1_amd64.deb shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1.dsc shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1_source.changes
# 解压
depkg-deb -x shortener_6c3e80be70e6e7d607ed10a0c9548e76d63bcce4-ubuntu24.04u1_amd64.deb shortener
# 查看文件
tree shortener