Skip to content

Commit

Permalink
Change: Separate versions for build and base image
Browse files Browse the repository at this point in the history
In the production dockerfile, the version of the gvm-libs base
image and the build image are now configured separately.
  • Loading branch information
timopollmeier authored and bjoernricks committed Jun 19, 2023
1 parent b04a6ed commit db154bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG VERSION=oldstable
ARG VERSION=unstable
ARG GVM_LIBS_VERSION=oldstable
ARG DEBIAN_FRONTEND=noninteractive

FROM greenbone/gsad-build:${VERSION} as builder
Expand Down Expand Up @@ -26,7 +27,7 @@ RUN mkdir /build \
&& cmake -DCMAKE_BUILD_TYPE=Release /source \
&& make DESTDIR=/install install

FROM greenbone/gvm-libs:${VERSION}
FROM greenbone/gvm-libs:${GVM_LIBS_VERSION}

ARG DEBIAN_FRONTEND=noninteractive

Expand Down

0 comments on commit db154bc

Please sign in to comment.