Compare commits

..

2 commits

Author SHA1 Message Date
5e4c034901
chore: cleanup krew 2024-10-15 22:48:52 +02:00
cb3f637350
fix: readlink before mv 2024-10-15 22:47:47 +02:00

View file

@ -21,7 +21,10 @@ RUN mv /root/go/bin/* /usr/local/bin/
COPY krew-plugins /
RUN grep -v '^#' /krew-plugins | xargs -n1 kubectl krew install
RUN rm /krew-plugins
RUN mv /root/.krew/bin/* /usr/local/bin/
RUN for bin in /root/.krew/bin/*; do \
mv $(readlink $bin) /usr/local/bin/$(basename $bin); \
done
RUN rm -rf /root/.krew
RUN ln -fs /bin/sh /usr/bin/sh && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \