Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

˝Change: Update gvm-libs image in prod.Dockerfile and build.Dockerfile #68

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading