Skip to content

Commit

Permalink
Clean up Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
msugakov committed May 23, 2024
1 parent f750d09 commit c53ee3b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions collector/container/konflux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ RUN /tmp/.konflux/scripts/subscription-manager-bro.sh register /mnt && \
rpm --root=/mnt --verbose -e --nodeps $(rpm --root=/mnt -qa 'curl' '*rpm*' '*dnf*' '*libsolv*' '*hawkey*' 'yum*') && \
rm -rf /mnt/var/cache/dnf /mnt/var/cache/yum

FROM scratch as collector-common
FROM scratch

COPY --from=rpm-implanter-app /mnt /

Expand Down Expand Up @@ -160,15 +160,6 @@ CMD collector-wrapper.sh \
--collection-method=$COLLECTION_METHOD \
--grpc-server=$GRPC_SERVER

FROM collector-common AS collector-slim

LABEL \
com.redhat.component="rhacs-collector-slim-container" \
io.k8s.display-name="collector-slim" \
name="rhacs-collector-slim-rhel8"

FROM collector-common AS collector

LABEL \
com.redhat.component="rhacs-collector-container" \
io.k8s.display-name="collector" \
Expand Down

0 comments on commit c53ee3b

Please sign in to comment.