Skip to content

Commit

Permalink
Change: Update gvm-libs image in prod.Dockerfile and build.Dockerfile (
Browse files Browse the repository at this point in the history
…#68)

Co-authored-by: Robert Schardt <robert.schardt@Macbook-Robert-Schardt.local>
  • Loading branch information
robert-schardt and Robert Schardt authored Sep 27, 2024
1 parent d6b5b97 commit 8bee8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .docker/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG VERSION=unstable

FROM greenbone/gvm-libs:$VERSION
FROM registry.community.greenbone.net/community/gvm-libs:${VERSION}
LABEL deprecated="This image is deprecated and may be removed soon."

RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
Expand Down
6 changes: 3 additions & 3 deletions .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ARG VERSION=edge
# this allows to work on forked repository
ARG REPOSITORY=greenbone/boreas
FROM greenbone/gvm-libs:$VERSION AS build
FROM registry.community.greenbone.net/community/gvm-libs:${VERSION} AS build

ARG DEBIAN_FRONTEND=noninteractive

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
RUN DESTDIR=/install cmake --build /build -- install

FROM greenbone/gvm-libs:$VERSION
FROM registry.community.greenbone.net/community/gvm-libs:${VERSION}

COPY --from=build /install/ /

Expand Down

0 comments on commit 8bee8ca

Please sign in to comment.