-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new docker image for openvas-smb based on debian:oldstable
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ARG VERSION=latest | ||
|
||
FROM debian:oldstable-slim AS build | ||
COPY . /source | ||
RUN sh /source/.github/install-openvas-smb-dependencies.sh | ||
|
||
RUN cmake -DCMAKE_BUILD_TYPE=Release -B/build /source | ||
RUN DESTDIR=/install cmake --build /build -- install | ||
|
||
FROM debian:oldstable-slim | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \ | ||
libgnutls30 \ | ||
libgssapi3-heimdal \ | ||
libkrb5-26-heimdal \ | ||
libasn1-8-heimdal \ | ||
libroken18-heimdal \ | ||
libhdb9-heimdal \ | ||
libpopt0 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=build /install/ / | ||
|
||
RUN ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters