Skip to content

Commit

Permalink
Fix: Docker: debian replaced libldap-2.4.2 with libldap-common, cgreen
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed Jun 14, 2023
1 parent e35cef6 commit d705a28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-get update && \
libxml2 \
libpcap0.8 \
libnet1 \
libldap-2.4-2 \
libldap-common \
libradcli4 \
libpaho-mqtt1.3 \
&& rm -rf /var/lib/apt/lists/*
Expand Down
9 changes: 7 additions & 2 deletions .github/install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# This script installs openvas-smb-dependencies.
#/bin/sh
set -ex
apt-get update && \
apt-get install -y --no-install-recommends \
Expand All @@ -20,6 +20,11 @@ apt-get update && \
libldap2-dev \
libradcli-dev \
libpaho-mqtt-dev \
libcgreen1-dev \
lcov \
&& rm -rf /var/lib/apt/lists/*


curl -L -o cgreen.tar.gz https://github.com/cgreen-devs/cgreen/archive/refs/tags/1.6.2.tar.gz -k
tar -xzf cgreen.tar.gz && cd cgreen-1.6.2
make install
ldconfig

0 comments on commit d705a28

Please sign in to comment.