Skip to content

Commit fcfa07c

Browse files
[minor] Add ibm_db python dependancies (#35)
1 parent c982941 commit fcfa07c

3 files changed

Lines changed: 29 additions & 23 deletions

File tree

README.md

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,31 @@ This base container image allows us to build the CLI faster by separating the bu
33

44
Provides:
55

6-
| content | amd64 | s390x | arm64 |
7-
| --------------------- | ----- | ----- | ----- |
8-
| `python3 v3.14` | ✔️ | ✔️ | ✔️ |
9-
| `ibmcloud v2.38.1` | ✔️ | ✔️ | ✔️ |
10-
| `aws` | ✔️ || ✔️ |
11-
| `helm v3` | ✔️ | ✔️ | ✔️ |
12-
| `mongosh v2.3.3` | ✔️ | ✔️ | ✔️ |
13-
| `mongodump v100.10.0` | ✔️ | ✔️ | ✔️ |
14-
| `oc` | ✔️ | ✔️ | ✔️ |
15-
| `oc mirror` | ✔️ | ✔️ | ✔️ |
16-
| `oc ibm-pak v1.20.0` | ✔️ | ✔️ | ✔️ |
17-
| `skopeo` | ✔️ | ✔️ | ✔️ |
18-
| `nano` | ✔️ | ✔️ | ✔️ |
19-
| `jq` | ✔️ | ✔️ | ✔️ |
20-
| `yq v4.49.1` | ✔️ | ✔️ | ✔️ |
21-
| `tini v0.19.0` | ✔️ | ✔️ | ✔️ |
22-
| `rclone` | ✔️ | ✔️ | ✔️ |
23-
| `rosa` | ✔️ | ❌ ️ | ✔️ |
24-
| `boto3` | ✔️ | ✔️ | ✔️ |
25-
| `argocd` | ✔️ | ✔️ | ✔️ |
26-
| `redis-cli` | ✔️ | ✔️ | ✔️ |
6+
| content | amd64 | s390x | ppc64le | arm64 |
7+
| --------------------- | ----- | ----- | ------- | ----- |
8+
| `python3 v3.12` | ✔️ | ✔️ | ✔️ | ✔️ |
9+
| `ibmcloud v2.38.1` | ✔️ | ✔️ | ✔️ | ✔️ |
10+
| `aws` | ✔️ ||| ✔️ |
11+
| `helm v3` | ✔️ | ✔️ | ✔️ | ✔️ |
12+
| `mongosh v2.3.3` | ✔️ | ✔️ | ✔️ | ✔️ |
13+
| `mongodump v100.10.0` | ✔️ | ✔️ | ✔️ | ✔️ |
14+
| `oc` | ✔️ | ✔️ | ✔️ | ✔️ |
15+
| `oc mirror` | ✔️ | ✔️ | ✔️ | ✔️ |
16+
| `oc ibm-pak v1.20.0` | ✔️ | ✔️ | ✔️ | ✔️ |
17+
| `skopeo` | ✔️ | ✔️ | ✔️ | ✔️ |
18+
| `nano` | ✔️ | ✔️ | ✔️ | ✔️ |
19+
| `jq` | ✔️ | ✔️ | ✔️ | ✔️ |
20+
| `yq v4.49.1` | ✔️ | ✔️ | ✔️ | ✔️ |
21+
| `tini v0.19.0` | ✔️ | ✔️ | ✔️ | ✔️ |
22+
| `rclone` | ✔️ | ✔️ | ✔️ | ✔️ |
23+
| `rosa` | ✔️ ||| ✔️ |
24+
| `boto3` | ✔️ | ✔️ | ✔️ | ✔️ |
25+
| `argocd` | ✔️ | ✔️ | ✔️ | ✔️ |
26+
| `redis-cli` | ✔️ | ✔️ | ✔️ | ✔️ |
27+
| `ibm_db v3.2.3` | ✔️ | ✔️ | ✔️ ||
28+
| `libxcrypt-compat` | ✔️ | ✔️ | ✔️ | ✔️ |
29+
| `cpio` | ✔️ | ✔️ | ✔️ | ✔️ |
2730

28-
Note: IBM Cloud `Container-Registry` plugin is supported on ppc64le, however the `Container-Service` plugin is not.
31+
**Notes:**
32+
- IBM Cloud `Container-Registry` plugin is supported on ppc64le, however the `Container-Service` plugin is not.
33+
- `ibm_db` (DB2 Python driver) is not supported on arm64 architecture due to upstream limitations.

image/cli-base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG ARCHITECTURE
99
USER root
1010
RUN dnf update -y --skip-broken --nobest &&\
1111
dnf upgrade -y --skip-broken --nobest &&\
12-
dnf install nano jq -y &&\
12+
dnf install nano jq libxcrypt-compat cpio -y &&\
1313
dnf clean all
1414

1515
# 2. Upgrade pip, install wheel, then install Python modules

image/cli-base/install/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jinjanator==25.3.1
1212
slack-sdk==3.39.0
1313
jira==3.10.5
1414
boto3==1.41.5
15+
ibm_db==3.2.3; platform_machine != "aarch64"

0 commit comments

Comments
 (0)