-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a new image for gvm-libs based on debian:testing The tags for that are: - testing - releases - testing-edge - any change That way we can buy some time for adjusting our workflow for new debian releases.
- Loading branch information
Showing
2 changed files
with
65 additions
and
2 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,35 @@ | ||
ARG VERSION=unstable | ||
# this allows to work on forked repository | ||
ARG REPOSITORY=greenbone/gvm-libs | ||
FROM debian:testing-slim AS build | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install | ||
COPY . /source | ||
RUN sh /source/.github/install-dependencies.sh | ||
RUN cmake -DCMAKE_BUILD_TYPE=Release -B/build /source | ||
RUN DESTDIR=/install cmake --build /build -- install | ||
|
||
FROM debian:testing-slim | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
libglib2.0-0 \ | ||
libgpgme11 \ | ||
libgnutls30 \ | ||
libuuid1 \ | ||
libssh-gcrypt-4 \ | ||
libhiredis0.14 \ | ||
libxml2 \ | ||
libpcap0.8 \ | ||
libnet1 \ | ||
libldap-common \ | ||
libradcli4 \ | ||
libpaho-mqtt1.3 \ | ||
&& 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