libtpms
Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
COPY --from=stagex/core-openssl . /
COPY --from=stagex/user-libtasn1 . /
ADD fetch/libtpms-${VERSION}.tar.gz .
WORKDIR /libtpms-${VERSION}
RUN --network=none <<-EOF
set -ex
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-openssl \
--with-tss-user=root \
--with-tss-group=root
make -j "$(nproc)"
make DESTDIR="/rootfs" install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /