flashtools
Source
FROM stagex/pallet-clang-gnu-busybox AS build
ARG VERSION
ADD fetch/flashtools-${VERSION}.tar.gz .
WORKDIR /flashtools-${VERSION}
RUN --network=none <<-EOF
make all
mkdir -p /rootfs/usr/bin/
install -vDm755 -t /rootfs/usr/bin flashtool
install -vDm755 -t /rootfs/usr/bin peek
install -vDm755 -t /rootfs/usr/bin poke
install -vDm755 -t /rootfs/usr/bin cbfs
install -vDm755 -t /rootfs/usr/bin uefi
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs// /Copied to clipboard!