mirror of
https://github.com/Mastermindzh/bw-export
synced 2025-01-20 18:41:15 +01:00
35f2f9c498
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-8551160 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-8551160 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-PAM-6178914
16 lines
377 B
Docker
16 lines
377 B
Docker
FROM node:22.12.0-alpine3.19
|
|
|
|
# install openssl
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends openssl expect && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
# install bitwarden-cli
|
|
RUN npm install -g @bitwarden/cli
|
|
|
|
# add the export script
|
|
RUN mkdir -p /opt/bw-export
|
|
COPY export.sh /opt/bw-export/export.sh
|
|
|
|
WORKDIR /opt/bw-export
|
|
ENTRYPOINT [ "bash", "export.sh" ] |