File tree Expand file tree Collapse file tree 13 files changed +927
-813
lines changed
lib/interface/cli/commands Expand file tree Collapse file tree 13 files changed +927
-813
lines changed Original file line number Diff line number Diff line change 1- v22.21 .0
1+ v24.12 .0
Original file line number Diff line number Diff line change 1- # go hub binary
2- FROM golang:alpine AS go
3- RUN apk --update add --no-scripts ca-certificates git
4- RUN go install github.com/github/hub@latest
5-
6- # python yq binary
7- FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 AS yq
8- ARG YQ_VERSION=2.10.0
9- ENV PATH="/pyinstaller:$PATH"
10- RUN pip install yq==${YQ_VERSION}
11- RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12-
13- # kubectl binary
14- FROM bitnamilegacy/kubectl:1.33.1 AS kubectl
15-
16- # Main
17- FROM node:22.21.0-alpine3.22
1+ FROM node:24.12.0-alpine3.23
2+ ARG TARGETPLATFORM
183RUN apk --update add --no-cache \
194 bash \
205 ca-certificates \
216 curl \
227 git \
238 jq
249RUN npm upgrade -g npm
25- COPY --from=go /go/bin/hub /usr/local/bin/hub
26- COPY --from=yq /tmp/yq /usr/local/bin/yq
27- COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
10+ COPY --from=mikefarah/yq:4.50.1 /usr/bin/yq /usr/local/bin/yq
11+ ADD --chmod=775 https://dl.k8s.io/release/v1.35.0/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
2812WORKDIR /cf-cli
2913COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
3014RUN yarn install --prod --frozen-lockfile && \
Original file line number Diff line number Diff line change 1- # go hub binary
2- FROM golang:alpine as go
3- RUN apk --update add --no-scripts ca-certificates git
4- RUN go install github.com/github/hub@latest
5-
6- # python yq binary
7- FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
8- ARG YQ_VERSION=2.10.0
9- ENV PATH="/pyinstaller:$PATH"
10- RUN pip install yq==${YQ_VERSION}
11- RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12-
13- # kubectl binary
14- FROM bitnamilegacy/kubectl:1.33.1 as kubectl
15-
16- # Main
17- FROM node:22.21.0-trixie-slim
1+ FROM node:24.12.0-trixie-slim
2+ ARG TARGETPLATFORM
183RUN apt update \
194 && apt -y install \
205 apt-transport-https \
@@ -26,9 +11,8 @@ RUN apt update \
2611 jq \
2712 && ln -s /bin/busybox /usr/bin/[[
2813RUN npm upgrade -g npm
29- COPY --from=go /go/bin/hub /usr/local/bin/hub
30- COPY --from=yq /tmp/yq /usr/local/bin/yq
31- COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
14+ COPY --from=mikefarah/yq:4.50.1 /usr/bin/yq /usr/local/bin/yq
15+ ADD --chmod=775 https://dl.k8s.io/release/v1.35.0/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
3216WORKDIR /cf-cli
3317COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
3418RUN yarn install --prod --frozen-lockfile && \
Original file line number Diff line number Diff line change 1- # go hub binary
2- FROM golang:alpine as go
3- RUN apk --update add --no-scripts ca-certificates git
4- RUN go install github.com/github/hub@latest
5-
6- # python yq binary
7- FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
8- ARG YQ_VERSION=2.10.0
9- ENV PATH="/pyinstaller:$PATH"
10- RUN pip install yq==${YQ_VERSION}
11- RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12-
13- # kubectl binary
14- FROM bitnamilegacy/kubectl:1.33.1 as kubectl
15-
16- # Main
17- FROM node:22.21.0-trixie-slim
1+ FROM node:24.12.0-trixie-slim
2+ ARG TARGETPLATFORM
183RUN apt update \
194 && apt -y install \
205 bash \
@@ -25,9 +10,8 @@ RUN apt update \
2510 jq \
2611 && ln -s /bin/busybox /usr/bin/[[
2712RUN npm upgrade -g npm
28- COPY --from=go /go/bin/hub /usr/local/bin/hub
29- COPY --from=yq /tmp/yq /usr/local/bin/yq
30- COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
13+ COPY --from=mikefarah/yq:4.50.1 /usr/bin/yq /usr/local/bin/yq
14+ ADD --chmod=775 https://dl.k8s.io/release/v1.35.0/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
3115WORKDIR /cf-cli
3216COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
3317RUN yarn install --prod --frozen-lockfile && \
Original file line number Diff line number Diff line change 1- # go hub binary
2- FROM golang:alpine as go
3- RUN apk --update add --no-scripts ca-certificates git
4- RUN go install github.com/github/hub@latest
5-
6- # python yq binary
7- FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
8- ARG YQ_VERSION=2.10.0
9- ENV PATH="/pyinstaller:$PATH"
10- RUN pip install yq==${YQ_VERSION}
11- RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12-
13- # kubectl binary
14- FROM bitnamilegacy/kubectl:1.33.1 as kubectl
15-
16- # Main
17- FROM node:22.21.0-alpine3.22
1+ FROM node:24.12.0-alpine3.23
2+ ARG TARGETPLATFORM
183RUN apk --update add --no-cache \
194 bash \
205 ca-certificates \
216 curl \
227 git \
238 jq
249RUN npm upgrade -g npm
25- COPY --from=go /go/bin/hub /usr/local/bin/hub
26- COPY --from=yq /tmp/yq /usr/local/bin/yq
27- COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
10+ COPY --from=mikefarah/yq:4.50.1 /usr/bin/yq /usr/local/bin/yq
11+ ADD --chmod=775 https://dl.k8s.io/release/v1.35.0/bin/${TARGETPLATFORM}/kubectl /usr/local/bin/kubectl
2812WORKDIR /cf-cli
2913COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
3014RUN yarn install --prod --frozen-lockfile && \
Original file line number Diff line number Diff line change 11const _ = require ( 'lodash' ) ;
2- const inquirer = require ( 'inquirer' ) ;
2+ const inquirer = require ( 'inquirer' ) . default ;
33const YAML = require ( 'yaml' ) ;
44const { readFileSync, lstatSync } = require ( 'fs' ) ;
55const { resolve } = require ( 'path' ) ;
Original file line number Diff line number Diff line change 11/* eslint-disable max-len */
22const Command = require ( '../../Command' ) ;
33const uninstallRoot = require ( '../root/uninstall.cmd' ) ;
4- const inquirer = require ( 'inquirer' ) ;
4+ const inquirer = require ( 'inquirer' ) . default ;
55const {
66 selectRuntime,
77 mergeWithValues,
Original file line number Diff line number Diff line change 11/* eslint-disable max-len */
22const Command = require ( '../../Command' ) ;
33const runnerRoot = require ( '../root/runner.cmd' ) ;
4- const inquirer = require ( 'inquirer' ) ;
4+ const inquirer = require ( 'inquirer' ) . default ;
55const { getAllKubeContexts, getKubeContext } = require ( '../../helpers/kubernetes' ) ;
66const unInstallRuntime = require ( '../runtimeEnvironments/uninstall.cmd' ) ;
77const unInstallAgent = require ( '../agent/uninstall.cmd' ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const fs = require('fs');
33
44const Command = require ( '../../Command' ) ;
55const runnerRoot = require ( '../root/runner.cmd' ) ;
6- const inquirer = require ( 'inquirer' ) ;
6+ const inquirer = require ( 'inquirer' ) . default ;
77const colors = require ( 'colors' ) ;
88const _ = require ( 'lodash' ) ;
99const { addProxyVariables, detectProxy, keyValueArrayToObject } = require ( '../../helpers/general' ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const { sdk } = require('../../../../logic');
44const installAgent = require ( '../agent/install.cmd' ) ;
55const installMonitoring = require ( '../monitor/install.cmd' ) ;
66const colors = require ( 'colors' ) ;
7- const inquirer = require ( 'inquirer' ) ;
7+ const inquirer = require ( 'inquirer' ) . default ;
88const fs = require ( 'fs' ) ;
99const {
1010 getTestPipeline,
You can’t perform that action at this time.
0 commit comments