Bump bw cli
All checks were successful
Check with kubeconform / lint (push) Successful in 15s

This commit is contained in:
Ultradesu
2025-06-19 15:45:39 +01:00
parent a59dfe8bba
commit 66d4383ef2
2 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
FROM debian:sid
ENV BW_CLI_VERSION=2024.7.2
ENV BW_CLI_VERSION=2025.5.0
RUN apt update && \
apt install -y wget unzip && \
@ -12,15 +12,15 @@ RUN apt update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
// Entrypoint content
#!/bin/sh
set -e
bw config server ${BW_HOST}
export BW_SESSION=$(bw login ${BW_USER} --passwordenv BW_PASSWORD --raw)
bw unlock --check
echo 'Running `bw server` on port 8087'
bw serve --hostname 0.0.0.0 #--disable-origin-protection
// End Entrypoint content
# Build entrypoint script
RUN echo '#!/bin/sh\n\
set -e\n\
bw config server ${BW_HOST}\n\
export BW_SESSION=$(bw login ${BW_USER} --passwordenv BW_PASSWORD --raw)\n\
bw unlock --check\n\
echo "Running \`bw server\` on port 8087"\n\
bw serve --hostname 0.0.0.0\n' > /entrypoint.sh && \
chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]
COPY entrypoint.sh /
CMD ["/entrypoint.sh"]

View File

@ -37,7 +37,7 @@ spec:
kubernetes.io/hostname: master.tail2fe2d.ts.net
containers:
- name: bitwarden-cli
image: ultradesu/bitwarden-client:2024.7.2
image: ultradesu/bitwarden-client:2025.5.0
imagePullPolicy: Always
env:
- name: BW_HOST