Skip to content

Commit f49f6f5

Browse files
author
Sean Sundberg
committed
Adds yq to the image
1 parent 147a855 commit f49f6f5

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ RUN cat ./image-message >> ./.bashrc-ni
141141
#RUN /usr/bin/python3 -m pip install --user ansible && \
142142
# echo "export PATH=\"${PATH}:${HOME}/.local/bin\"" >> ./.bashrc-ni
143143

144-
RUN sudo dnf clean all
145-
146144
RUN curl -L https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz --output oc-client.tar.gz && \
147145
tar xzf oc-client.tar.gz && \
148146
sudo cp openshift-origin-client-tools*/oc /usr/local/bin && \
@@ -163,4 +161,8 @@ RUN sudo mv /usr/local/bin/helm /usr/local/bin/helm2 && \
163161

164162
RUN sudo chown -R devops ${HOME} && sudo chgrp -R 0 ${HOME} && sudo chmod -R g=u ${HOME}
165163

164+
RUN sudo dnf install -y yq --disableplugin=subscription-manager
165+
166+
RUN sudo dnf clean all
167+
166168
ENTRYPOINT ["/bin/bash", "--init-file", "/home/devops/.bashrc-ni"]

config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ commandTests:
7474
args: ["--help"]
7575
expectedOutput: [".*OpenShift.*"]
7676

77+
- name: "yq"
78+
command: "yq"
79+
args: ["--version"]
80+
expectedOutput: ["yq version.*"]
81+
7782
# - name: "python"
7883
# command: "python"
7984
# args: ["--help"]

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
"release": true
1717
},
1818
"hooks": {
19-
"before:init": [
20-
"npm test"
21-
],
2219
"after:bump": "npm run build",
2320
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
2421
}

0 commit comments

Comments
 (0)