NG: secret manager and VW
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 14m33s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 14m33s
This commit is contained in:
1 parent
862a7619e2
commit
cf88753ff5
15 files changed
+533
No files matched your search
@@ -0,0 +1,26 @@
|
||||
FROM debian:sid
|
||||
|
||||
ENV BW_CLI_VERSION=2025.12.1
|
||||
|
||||
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 && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 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"]
|
||||
|
||||
Reference in new issue
Block a user