File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010FROM python:3.8-slim-buster
1111
1212ENV AWSCLI_VERSION="1.18.56"
13+ ENV YQ_VERSION="3.3.0"
1314
1415ENV PATH="/app/.local/bin:${PATH}"
1516
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 && \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ We switched from Alpine to Debian for this image due to these two articles:
99Utilities 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
Original file line number Diff line number Diff line change 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
66docker build . \
77 --iidfile=image.id \
You can’t perform that action at this time.
0 commit comments