fix(package/libcap): fix install make task

This commit is contained in:
xyhhx 2024-03-09 16:57:10 -05:00
parent 83e36f17a8
commit ec90de38d4
No known key found for this signature in database
GPG key ID: 21955DADF87F80E8

View file

@ -18,10 +18,10 @@ COPY --from=stagex/perl . /
COPY --from=stagex/gcc . /
RUN tar -xzf ${SRC_FILE}
WORKDIR libcap-${VERSION}
RUN --network=none ARCH=x86_64 make
RUN --network=none make lib=lib prefix=/usr GOLANG=no DESTDIR=/rootfs
FROM build as install
RUN --network=none make DESTDIR=/rootfs install
RUN --network=none make lib=lib prefix=/usr GOLANG=no DESTDIR=/rootfs install
RUN find /rootfs -exec touch -hcd "@0" "{}" +
FROM scratch as test