bump node version to fix arm build

This commit is contained in:
Tobias Trabelsi 2024-01-15 22:19:56 +01:00
parent aeedda8640
commit 69290f689d
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@ ARG PIP_VERSION=23.3.1-r0
ARG GCOMPAT_VERSION=1.1.0-r4 ARG GCOMPAT_VERSION=1.1.0-r4
ARG LIBCRYPTO_VERSION=3.1.4-r2 ARG LIBCRYPTO_VERSION=3.1.4-r2
ARG BW_VERSION=2023.7.0 ARG BW_VERSION=2023.7.0
ARG NODE_VERSION=20.10.0-r1 ARG NODE_VERSION=20.11.0-r0
COPY requirements.txt /requirements.txt COPY requirements.txt /requirements.txt
@ -18,6 +18,7 @@ RUN set -eux; \
ARCH="$(apk --print-arch)"; \ ARCH="$(apk --print-arch)"; \
case "${ARCH}" in \ case "${ARCH}" in \
aarch64|arm64) \ aarch64|arm64) \
apk del nodejs-current; \
apk add nodejs=${NODE_VERSION} npm; \ apk add nodejs=${NODE_VERSION} npm; \
npm install -g @bitwarden/cli@${BW_VERSION}; \ npm install -g @bitwarden/cli@${BW_VERSION}; \
;; \ ;; \

View File

@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator
type: application type: application
version: "v0.11.1" version: "v0.11.2"
appVersion: "0.10.1" appVersion: "0.10.2"
keywords: keywords:
- operator - operator
@ -101,10 +101,10 @@ annotations:
artifacthub.io/operator: "true" artifacthub.io/operator: "true"
artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed
description: "Downgrade node to LTS in order to make bw cli work on arm"
- kind: changed - kind: changed
description: "Update bw cli to 2023.7.0 for the same reason" description: "Update jinja to 3.1.3"
- kind: changed
description: "Update Node on arm to 20.11.0-r0"
artifacthub.io/images: | artifacthub.io/images: |
- name: bitwarden-crd-operator - name: bitwarden-crd-operator
image: ghcr.io/lerentis/bitwarden-crd-operator:0.10.1 image: ghcr.io/lerentis/bitwarden-crd-operator:0.10.2