Skip to content

Commit

Permalink
Dockerfile: fix build with newer ubi8/ubi-minimal image
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro Jäckel <sandro.jaeckel@sap.com>
  • Loading branch information
SuperSandro2000 authored and crozzy committed Sep 22, 2022
1 parent 47a9c1c commit 2af2a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN go build -trimpath \
./cmd/clairctl

FROM registry.access.redhat.com/ubi8/ubi-minimal AS init
RUN microdnf install --disablerepo=* --enablerepo=ubi-8-baseos --enablerepo=ubi-8-appstream podman-catatonit
RUN microdnf install --disablerepo=* --enablerepo=ubi-8-baseos-rpms --enablerepo=ubi-8-appstream-rpms podman-catatonit

FROM registry.access.redhat.com/ubi8/ubi-minimal AS final
ENTRYPOINT ["/usr/local/bin/catatonit", "--", "/bin/clair"]
Expand Down

0 comments on commit 2af2a7f

Please sign in to comment.