You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to build a multi-platform(linux/amd64, linux/arm64 and linux/arm/v7) docker image that installs the kanto deb package on top of jrei/systemd-ubuntu:22.04(used as a base image). However the build fails on the non-host architectures - linux/arm64 and linux/arm/v7, with the following error:
34.41 Setting up kanto (0.1.0~M3) ...
34.66 Error while loading /var/lib/dpkg/info/kanto.postinst: Exec format error
34.66 dpkg: error processing package kanto (--configure):
34.66 installed kanto package post-installation script subprocess returned error exit status 1
34.67 Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
34.90 Errors were encountered while processing:
34.90 kanto
34.99 E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered:
Adding a shebang to the beginning of the scripts solved the issue. According to the debian documentation a shebang is a must - introduction-to-package-maintainer-scripts.
dimitar-dimitrow
changed the title
Installing kanto deb package fails for multi-platform docker build
Installing kanto deb package fails in multi-platform docker build
Mar 12, 2024
I try to build a multi-platform(linux/amd64, linux/arm64 and linux/arm/v7) docker image that installs the kanto deb package on top of jrei/systemd-ubuntu:22.04(used as a base image). However the build fails on the non-host architectures - linux/arm64 and linux/arm/v7, with the following error:
The text was updated successfully, but these errors were encountered: