File tree Expand file tree Collapse file tree 7 files changed +2309
-2679
lines changed Expand file tree Collapse file tree 7 files changed +2309
-2679
lines changed Original file line number Diff line number Diff line change 1- v22.11.0
1+ v18.17.1
Original file line number Diff line number Diff line change 11# go hub binary
2- FROM golang:alpine AS go
2+ FROM golang:alpine as go
33RUN apk --update add ca-certificates git
44RUN go install github.com/github/hub@latest
55
66# python yq binary
7- FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 AS yq
7+ FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
88ARG YQ_VERSION=2.10.0
99ENV PATH="/pyinstaller:$PATH"
1010RUN pip install yq==${YQ_VERSION}
1111RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212
1313# kubectl binary
14- FROM bitnami/kubectl:1.30.6 AS kubectl
14+ FROM bitnami/kubectl:1.27.4 as kubectl
1515
1616# Main
17- FROM node:22.11.0-alpine3.20
17+ FROM node:18.17.1-alpine3.18
18+
1819RUN apk --update add --no-cache \
1920 bash \
2021 ca-certificates \
2122 curl \
2223 git \
2324 jq
25+
2426COPY --from=go /go/bin/hub /usr/local/bin/hub
2527COPY --from=yq /tmp/yq /usr/local/bin/yq
2628COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
29+
2730WORKDIR /cf-cli
31+
2832COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
33+
2934RUN yarn install --prod --frozen-lockfile && \
3035 yarn cache clean
36+
3137COPY . /cf-cli
38+
3239RUN yarn generate-completion
40+
3341RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
34- RUN codefresh components update --location components
3542
43+ RUN codefresh components update --location components
3644ENTRYPOINT ["codefresh" ]
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212
1313# kubectl binary
14- FROM bitnami/kubectl:1.30.6 as kubectl
14+ FROM bitnami/kubectl:1.27.4 as kubectl
1515
1616# Main
17- FROM node:22.11.0 -bullseye-slim
17+ FROM node:18.17.1 -bullseye-slim
1818
1919RUN apt update \
2020 && apt -y install \
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212
1313# kubectl binary
14- FROM bitnami/kubectl:1.30.6 as kubectl
14+ FROM bitnami/kubectl:1.27.4 as kubectl
1515
1616# Main
17- FROM node:22.11.0 -bullseye-slim
17+ FROM node:18.17.1 -bullseye-slim
1818
1919RUN apt update \
2020 && apt -y install \
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212
1313# kubectl binary
14- FROM bitnami/kubectl:1.30.6 as kubectl
14+ FROM bitnami/kubectl:1.27.4 as kubectl
1515
1616# Main
17- FROM node:22.11.0 -alpine3.20
17+ FROM node:18.17.1 -alpine3.18
1818
1919RUN apk --update add --no-cache \
2020 bash \
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.88.0 " ,
3+ "version" : " 0.88.1 " ,
44 "description" : " Codefresh command line utility" ,
55 "main" : " index.js" ,
66 "preferGlobal" : true ,
3232 "assets" : " lib/**/*.hbs"
3333 },
3434 "resolutions" : {
35+ "websocket-extensions" : " ^0.1.4" ,
36+ "lodash" : " ^4.17.21" ,
3537 "json-schema" : " ^0.4.0" ,
38+ "ajv" : " ^6.12.6" ,
39+ "normalize-url" : " ^4.5.1" ,
3640 "ansi-regex" : " ^5.0.1" ,
37- "kubernetes-client/@kubernetes/client-node" : " >=0.22.2" ,
38- "tough-cookie" : " ^4.1.3"
41+ "y18n" : " ^4.0.1" ,
42+ "shelljs" : " ^0.8.5" ,
43+ "codefresh-sdk/swagger-client/qs" : " 6.9.7" ,
44+ "kubernetes-client/qs" : " 6.9.7" ,
45+ "**/request/qs" : " 6.5.3"
3946 },
4047 "dependencies" : {
4148 "@codefresh-io/docker-reference" : " ^0.0.5" ,
5764 "figlet" : " ^1.4.0" ,
5865 "filesize" : " ^3.5.11" ,
5966 "firebase" : " git+https://github.com/codefresh-io/firebase.git#80b2ed883ff281cd67b53bd0f6a0bbd6f330fed5" ,
60- "flat" : " ^5.0.2 " ,
67+ "flat" : " ^4.1.1 " ,
6168 "inquirer" : " ^7.1.0" ,
6269 "js-yaml" : " ^3.10.0" ,
6370 "kefir" : " ^3.8.1" ,
7279 "promise-retry" : " ^2.0.1" ,
7380 "recursive-readdir" : " ^2.2.3" ,
7481 "request" : " ^2.88.0" ,
75- "request-promise" : " ^4.2.6 " ,
82+ "request-promise" : " ^4.2.2 " ,
7683 "requestretry" : " ^7.0.2" ,
7784 "rimraf" : " ^2.6.2" ,
7885 "semver" : " ^7.5.4" ,
107114 "setupFiles" : [
108115 " ./test-setup.js"
109116 ]
110- },
111- "packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 117+ }
112118}
You can’t perform that action at this time.
0 commit comments