Skip to content

Commit 4ace9ae

Browse files
committed
setcap: Unhold and explictly install libcap2 package
Signed-off-by: Stephen Augustus <[email protected]>
1 parent 6c79adb commit 4ace9ae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

images/build/setcap/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ ARG BASEIMAGE
1616

1717
FROM ${BASEIMAGE}
1818

19-
RUN apt-get update \
20-
&& apt-get -y --no-install-recommends install libcap2-bin
19+
RUN apt-mark unhold libcap2 \
20+
&& apt-get update \
21+
&& apt-get -y --no-install-recommends install \
22+
libcap2 \
23+
libcap2-bin

0 commit comments

Comments
 (0)