Skip to content

Commit 271b284

Browse files
author
Sean Sundberg
committed
Adds jq and yq to the image
1 parent 51ba245 commit 271b284

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@ RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v${KUBECT
8282

8383
#RUN sudo chown -R devops ${HOME} && sudo chgrp -R 0 ${HOME} && sudo chmod -R g=u ${HOME}
8484

85-
#RUN curl -LO https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
86-
# chmod a+x jq-linux64 && \
87-
# sudo mv jq-linux64 /usr/local/bin/jq
85+
RUN curl -LO https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
86+
chmod a+x jq-linux64 && \
87+
sudo mv jq-linux64 /usr/local/bin/jq
88+
89+
RUN wget -q -O ./yq $(wget -q -O - https://api.github.com/repos/mikefarah/yq/releases/latest | jq -r '.assets[] | select(.name == "yq_linux_amd64") | .browser_download_url') && \
90+
chmod +x ./yq && \
91+
sudo mv ./yq /usr/bin/yq
8892

8993
ENTRYPOINT ["/bin/bash", "--init-file", "/home/devops/.bashrc-ni"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cli-tools",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"org": "ibmgaragecloud",
55
"branch": "lite",
66
"description": "This repository contains a docker image to help setup an IBM Cloud Public development environment.",

0 commit comments

Comments
 (0)