Skip to content

Commit

Permalink
Copy binaries on Apophis image to proper locations
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Stejskal <[email protected]>
  • Loading branch information
Frawless committed Nov 13, 2023
1 parent 7b60c87 commit d89d143
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions image-update/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/s

RUN wget https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz -O /tmp/oc.tar.gz &&\
tar -xzf /tmp/oc.tar.gz -C /tmp &&\
mv /tmp/oc /usr/bin/oc &&\
chmod +x /usr/bin/oc
mv /tmp/oc /usr/local/bin/oc &&\
chmod +x /usr/local/bin/oc

RUN wget https://github.com/mikefarah/yq/releases/download/v4.23.1/yq_linux_amd64 -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
RUN wget https://github.com/mikefarah/yq/releases/download/v4.23.1/yq_linux_amd64 -O /usr/local/bin/yq &&\
chmod +x /usr/local/bin/yq

RUN curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash &&\
mv kustomize /usr/bin/
mv kustomize /usr/local/bin/

USER root

0 comments on commit d89d143

Please sign in to comment.