bw-client/Dockerfile
Jochen Maes e9d9fdbf61
Some checks failed
continuous-integration/drone/tag Build is failing
Initial commit
2023-11-18 10:11:59 +01:00

16 lines
393 B
Docker

FROM debian:bookworm
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
COPY entrypoint.sh /
CMD ["/entrypoint.sh"]