Skip to content

Commit 1c2a026

Browse files
committed
Added YQ
1 parent 9678182 commit 1c2a026

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
FROM python:3.8-slim-buster
1111

1212
ENV AWSCLI_VERSION="1.18.56"
13+
ENV YQ_VERSION="3.3.0"
1314

1415
ENV PATH="/app/.local/bin:${PATH}"
1516

@@ -38,6 +39,9 @@ RUN \
3839
pip install requests && \
3940
pip install boto3 && \
4041
pip install pystardog && \
42+
curl -L "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" -o /usr/bin/yq && \
43+
chmod +x /usr/bin/yq && \
44+
yq --version && \
4145
apt-get autoremove --purge -y git && \
4246
apt-get clean -y && \
4347
rm -rf /app/.cache >/dev/null 2>&1 || true && \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ We switched from Alpine to Debian for this image due to these two articles:
99
Utilities in this image:
1010

1111
- jq (for processing JSON)
12+
- yq (for processing YAML)
1213
- curl & wget (for executing HTTP commands)
1314
- git
1415
- rsync

localbuild.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
2-
_IMAGE_NAME="ekgf/debian-awscli"
2+
_IMAGE_NAME="docker.io/ekgf/debian-awscli"
33
_IMAGE_VERSION="latest"
4-
_MANUALLY_INCREMENTED_IMAGE_VERSION="0.0.1"
4+
_MANUALLY_INCREMENTED_IMAGE_VERSION="0.0.2"
55

66
docker build . \
77
--iidfile=image.id \

0 commit comments

Comments
 (0)