Outdated cf cli version in tag "latest", compared to tag "v22"
還沒有人認領這個 Issue。
評估
研究方向
Start by inspecting the Docker image build and tag configuration, then reproduce the reported commands in fresh containers for latest and v22. Compare the bundled cf versions and verify that latest supports both cf login and cf auth with the intended current CLI version.
由索引模型根據 Issue 內容生成。
描述
Dear colleagues,
I am not sure why, but latest seems to be a step backwards (2025 -> 2020):
>docker run -it docker.wdf.sap.corp:50000/ppiper/cf-cli:latest sh
$ cf -v
cf version 6.53.0+8e2b70a4a.2020-10-01
>docker run -it docker.wdf.sap.corp:50000/ppiper/cf-cli:v22 sh
$ cf -v
cf version 8.14.1+2bcb856.2025-06-10
This is NOT an issue (not really) while using "cf login" as it is still using CF CLI v3. But while using "cf auth" it's falling back to CF CLI v2:
>docker run -it docker.wdf.sap.corp:50000/ppiper/cf-cli:latest sh
$ cf login -a https://api.cf.sap.hana.ondemand.com -u [email protected] -p abc --skip-ssl-validation
API endpoint: https://api.cf.sap.hana.ondemand.com
[...]
API endpoint: https://api.cf.sap.hana.ondemand.com (API version: 3.203.0)
>docker run -it docker.wdf.sap.corp:50000/ppiper/cf-cli:latest sh
$ cf api api.cf.sap.hana.ondemand.com --skip-ssl-validation
Setting api endpoint to api.cf.sap.hana.ondemand.com...
OK
$ cf auth [email protected] abc
Cloud Foundry API version 2.268.0 requires CLI version 8.0.0. You are currently on version 6.53.0+8e2b70a4a.2020-10-01. To upgrade your CLI, please visit: https://github.com/cloudfoundry/cli#downloads
For testing "cf login" vs. "cf auth" please use a new docker instance! When you perform "cf login" in same instance first, "cf auth" will run on CF CLI v3 as well.
For my environment, I cannot use "cf login" as I need to build spaces etc. first (which are required for "cf login" but not for "cf auth").
Thx & BR,
Andreas
- 主要語言
- Dockerfile
- 星號
- 8
- 分支
- 20
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
SAP/devops-docker-cf-cli 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
SAP/devops-docker-cf-cli#75 · 1 則留言 · 1 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 25/100
SAP/devops-docker-cf-cli#59 ·
查看 SAP/devops-docker-cf-cli 的全部 Issue
相似的 Issue
-
fix: jaspr serve keyboard shortcuts (r/R/l/d/q) don't work on Windows可能已有人在做 @lewinpauli 今天認領。 未關閉bug
難度 1/5 1 小時以內 新手友好度 90/100
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
nebari-dev/nebi#630 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
documentation good first issue
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
bug
難度 1/5 1 小時以內 新手友好度 91/100
solongate/agent-security#226 ·
維護者通常 1 天內回覆