We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7c461 commit e30a088Copy full SHA for e30a088
Dockerfile
@@ -63,11 +63,16 @@ RUN apk update && \
63
64
COPY --from=downloader /usr/bin/helm /usr/bin/helm
65
COPY --from=downloader /usr/bin/kustomize /usr/bin/kustomize
66
-COPY --from=builder /usr/bin/kube-score /kube-score
67
COPY --from=builder /usr/bin/kube-score /usr/bin/kube-score
+
68
+# Symlink to /kube-score for backwards compatibility (with kube-score v1.15.0 and earlier)
69
+RUN ln -s /usr/bin/kube-score /kube-score
70
71
# Dry runs
-RUN /kube-score version && helm version && kustomize version
72
+RUN /kube-score version && \
73
+ /usr/bin/kube-score version && \
74
+ kube-score version && \
75
+ helm version && kustomize version
76
77
WORKDIR /project
78
ENTRYPOINT ["/kube-score"]
0 commit comments