From 431284bb606af69ffa9164f5231e72df6894cc9c Mon Sep 17 00:00:00 2001 From: Jochen Maes Date: Sat, 18 Nov 2023 12:20:41 +0100 Subject: [PATCH] switch to npm image --- Dockerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index e39fb17..663c8e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,8 @@ -FROM debian:bookworm +FROM node:alpine -ENV BW_CLI_VERSION=2023.4.0 - -RUN apt update && \ - apt install -y wget unzip && \ - wget https://github.com/bitwarden/clients/releases/download/cli-v${BW_CLI_VERSION}/bw-linux-${BW_CLI_VERSION}.zip && \ - unzip bw-linux-${BW_CLI_VERSION}.zip && \ - chmod +x bw && \ - mv bw /usr/local/bin/bw && \ - rm -rfv *.zip +ENV BW_CLI_VERSION=2023.10.0 +RUN npm install -g @bitwarden/cli COPY entrypoint.sh / CMD ["/entrypoint.sh"]