-
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.
## What Add a new docker image for openvas-smb based on debian:oldstable Jira: SC-865 <!-- Describe what changes are being made, e.g. which feature/bug is being developed/fixed in this PR? How did you verify the changes in this PR? --> ## Why <!-- Describe why are these changes necessary? --> ## References <!-- Add identifier for issue tickets, links to other PRs, etc. --> ## Checklist <!-- Remove this section if not applicable to your changes --> - [ ] Tests
- Loading branch information
Showing
2 changed files
with
53 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