Added libcap-dev to build requirements for Ubuntu Docker images

This commit is contained in:
Fabio Manganiello 2021-11-28 22:39:45 +01:00
parent 6023fd3db3
commit f478e1ff40
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,7 @@ RUN dpkg --configure -a \\
&& apt-get install --no-install-recommends -y git \\
&& apt-get install --no-install-recommends -y sudo \\
&& apt-get install --no-install-recommends -y libffi-dev \\
&& apt-get install --no-install-recommends -y libcap-dev \\
&& apt-get install --no-install-recommends -y libjpeg-dev \\{pkg_cmd}{pip_cmd}'''
for exec_cmd in exec_cmds:
@ -154,6 +155,7 @@ RUN apt-get remove -y git \\
&& apt-get remove -y build-essential \\
&& apt-get remove -y libffi-dev \\
&& apt-get remove -y libjpeg-dev \\
&& apt-get remove -y libcap-dev \\
&& apt-get remove -y zlib1g-dev \\
&& apt-get remove -y apt-utils \\
&& apt-get clean \\