Skip to content

Commit cc3baed

Browse files
use latest yq version
1 parent 0327241 commit cc3baed

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ RUN mkdir -p /opt/concourse-${CONCOURSE_VERSION} \
3636
RUN apk update \
3737
&& apk add --no-cache util-linux
3838

39-
RUN curl -SL "https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd64" -o /usr/local/bin/yq \
40-
&& chmod +x /usr/local/bin/yq
39+
RUN curl -SL "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -o /usr/local/bin/yq \
40+
&& chmod +x /usr/local/bin/yq \
41+
&& yq --version
4142

4243
ARG CF_CLI_6_VERSION=6.53.0
4344
RUN mkdir -p /opt/cf-cli-${CF_CLI_6_VERSION} \

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ RUN apk add --no-cache --update-cache ca-certificates \
1111
util-linux
1212

1313
# Install yaml cli
14-
RUN curl -SL "https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd64" -o /usr/local/bin/yq \
15-
&& chmod +x /usr/local/bin/yq
14+
RUN curl -SL "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -o /usr/local/bin/yq \
15+
&& chmod +x /usr/local/bin/yq \
16+
&& yq --version
1617

1718
# Install Cloud Foundry cli v6
1819
ARG CF_CLI_6_VERSION=6.53.0

0 commit comments

Comments
 (0)