Skip to content

Commit c87fd09

Browse files
committed
yq install
1 parent c47a21c commit c87fd09

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ RUN echo "**** install Python 3.12 ****" && \
2323
python3.12 \
2424
python3.12-dev \
2525
python3.12-venv && \
26-
apt update && \
27-
apt install yq -y && \
26+
echo "**** install yq ****" && \
27+
YQ_VERSION="v4.43.1" && \
28+
wget -O /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" && \
29+
chmod +x /usr/local/bin/yq && \
2830
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 && \
2931
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \
3032
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12 && \

0 commit comments

Comments
 (0)