switch to npm image
This commit is contained in:
parent
7e368e5bf6
commit
431284bb60
13
Dockerfile
13
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user