Skip to content

Commit

Permalink
fix: preserve old Docker image paths for backwards compatability (#185)
Browse files Browse the repository at this point in the history
* fix: preserve old Docker image paths for backwards compatability

* style: fix typo in comment
  • Loading branch information
devstein authored May 18, 2023
1 parent c02a2b7 commit 93f4220
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@ COPY --from=builder /go/bin/ksops /usr/local/bin/ksops
COPY --from=builder /go/bin/kustomize /usr/local/bin/kustomize
COPY --from=builder /go/bin/kustomize-sops /usr/local/bin/kustomize-sops

# Create a symlink from /usr/local/bin/ksops to /go/bin/ksops to preserve backwards compatibility (this will be removed in a future release)
RUN mkdir -p /go/bin
RUN ln -s /usr/local/bin/ksops /go/bin/ksops
RUN ln -s /usr/local/bin/kustomize /go/bin/kustomize
RUN ln -s /usr/local/bin/kustomize-sops /go/bin/kustomize-sops

# Change working directory to /usr/local/bin
WORKDIR /usr/local/bin

CMD ["kustomize", "version"]

0 comments on commit 93f4220

Please sign in to comment.