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

CVE-2024-28182 #469

Closed
wants to merge 1 commit into from
Closed
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
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# https://catalog.redhat.com/software/containers/ubi9/go-toolset
FROM registry.access.redhat.com/ubi9/go-toolset:1.21 AS builder
USER root

# CVE-2024-28182 | TODO: Remove it once fixed in the base image
RUN dnf --assumeyes install --nodocs libnghttp2-1.43.0-5.el9_4.3

WORKDIR /usr/src/authorino
COPY ./ ./
ARG version=latest
Expand All @@ -11,6 +15,9 @@ RUN CGO_ENABLED=0 GO111MODULE=on go build -a -ldflags "-X main.version=${version
# https://catalog.redhat.com/software/containers/ubi9-minimal
FROM registry.access.redhat.com/ubi9-minimal:latest

# CVE-2024-28182 | TODO: Remove it once fixed in the base image
RUN microdnf --assumeyes install --nodocs libnghttp2-1.43.0-5.el9_4.3

# shadow-utils is required for `useradd`
RUN PKGS="shadow-utils" \
&& microdnf --assumeyes install --nodocs $PKGS \
Expand Down
Loading