Compare commits
2 commits
0e8cf5c63a
...
5e4c034901
Author | SHA1 | Date | |
---|---|---|---|
5e4c034901 | |||
cb3f637350 |
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ RUN mv /root/go/bin/* /usr/local/bin/
|
||||||
COPY krew-plugins /
|
COPY krew-plugins /
|
||||||
RUN grep -v '^#' /krew-plugins | xargs -n1 kubectl krew install
|
RUN grep -v '^#' /krew-plugins | xargs -n1 kubectl krew install
|
||||||
RUN rm /krew-plugins
|
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 && \
|
RUN ln -fs /bin/sh /usr/bin/sh && \
|
||||||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
|
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
|
||||||
|
|
Loading…
Reference in a new issue