Skip to content

Commit

Permalink
Add yq package (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjamet authored Mar 9, 2020
1 parent 27215a4 commit 2e2a204
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- wget
- whalesay
- youtube-dl
- yq
steps:
- uses: actions-go/modified@master
id: is-modified
Expand Down
7 changes: 7 additions & 0 deletions yq/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.8-alpine
ARG VERSION=2.9.2
ARG JQ_VERSION=1.6
RUN wget -O /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 && \
chmod +x /usr/local/bin/jq
RUN pip install yq${VERSION+==$VERSION}
ENTRYPOINT ["yq"]

0 comments on commit 2e2a204

Please sign in to comment.