Skip to content

Commit

Permalink
remove cert-approver
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Aug 22, 2024
1 parent 9ca9d5f commit 3194523
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,17 @@ COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/bi
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/bin/multus /multus
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/bin/multus-daemon /multus-daemon
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/bin/multus-shim /multus-shim
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/bin/cert-approver /cert-approver
RUN strip /thin_entrypoint /multus /multus-daemon /multus-shim /cert-approver

# Create the multus image
FROM scratch as multus-cni

Check warning on line 45 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 45 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
COPY --from=strip_binary /multus /usr/src/multus-cni/bin/multus
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/LICENSE /usr/src/multus-cni/LICENSE
COPY --from=strip_binary /thin_entrypoint /
COPY --from=strip_binary /cert-approver /cert-approver
COPY --from=strip_binary /kubeconfig_generator /kubeconfig_generator
ENTRYPOINT ["/thin_entrypoint"]

# Create the thick plugin image
FROM scratch as multus-thick

Check warning on line 52 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 52 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-arm64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
COPY --from=multus-builder /go/src/github.com/k8snetworkplumbingwg/multus-cni/LICENSE /usr/src/multus-cni/LICENSE
COPY --from=strip_binary /multus-daemon /usr/src/multus-cni/bin/multus-daemon
COPY --from=strip_binary /multus-shim /usr/src/multus-cni/bin/multus-shim
COPY --from=strip_binary /cert-approver /usr/src/multus-cni/bin/cert-approver
ENTRYPOINT [ "/usr/src/multus-cni/bin/multus-daemon" ]

0 comments on commit 3194523

Please sign in to comment.