fix(package/libcap): fix install make task
This commit is contained in:
parent
83e36f17a8
commit
ec90de38d4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue