This is a different toolchain following how wasi-sdk defines the
platform triple and how builds are configured -- everything should be
built with the flags defined in the toolchain file.
We build from web-wasi:latest, and that is built first.
Addresses:
> [ 2/18] RUN set -x && yum -y install gpg python3-devel zlib-devel gettext openssh-clients wget nasm zip && yum clean all:
265
6.220 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
266
6.220 Public key for platform-python-devel-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: platform-python-devel-3.6.8-56.el8_9.3.alma.1.x86_64
267
6.220 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
268
6.220 Public key for platform-python-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: platform-python-3.6.8-56.el8_9.3.alma.1.x86_64
269
6.220 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
270
6.221 Public key for python3-libs-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: python3-libs-3.6.8-56.el8_9.3.alma.1.x86_64
271
6.221 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
272
6.221 The downloaded packages were saved in cache until the next successful transaction.
273
6.221 You can remove cached packages by executing 'yum clean packages'.
274
6.230 Error: GPG check FAILED
These get installed via the openssh-server package, which is pulled in
as a dependency. Remove them before completing the layer to avoid
inadvertent usage in these public docker images.
Netwide assembler is a small package, but when require it is hard to avoid it (e.g. https://github.com/google/tensorstore/issues/65#issuecomment-1324368082).
$ apt show nasm
Package: nasm
Version: 2.15.05-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3,345 kB
Depends: dpkg (>= 1.15.4) | install-info, libc6 (>= 2.14)
Homepage: http://www.nasm.us/
Download-Size: 375 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: General-purpose x86 assembler
Netwide Assembler. NASM will currently output flat-form binary files,
a.out, COFF and ELF Unix object files, and Microsoft 16-bit DOS and
Win32 object files.
.
Also included is NDISASM, a prototype x86 binary-file disassembler
which uses the same instruction table as NASM.
.
NASM is released under the GNU Lesser General Public License (LGPL).
Replaces manylinux_2_24 (which has been deprecated).
Based on AlmaLinux (RedHat-based) and GCC 11.
Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Code-signing of generated executables is usually done with "signtool" on
Windows. When cross-compiling on Linux this tool is not avaiilable,
however, osslsigncode can be used as an replacement.