Skip to content

Commit 60a9afa

Browse files
committed
Add comments
1 parent f0f7d88 commit 60a9afa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM debian:13.1-slim
33
ENV BW_VERSION=2025.11.0
44
ENV DEBIAN_FRONTEND=noninteractive
55

6+
# install bitwarden-cli
67
RUN <<EOF
78
apt-get update
89
apt-get install -y --no-install-recommends ca-certificates wget unzip
@@ -15,10 +16,12 @@ RUN <<EOF
1516
apt-get purge -y unzip
1617
EOF
1718

19+
# run rootless
1820
USER 1000
1921
WORKDIR /bw
2022
ENV HOME=/bw
2123

24+
# copy entrypoint and make it executable
2225
COPY --chmod=0755 entrypoint.sh /
2326

2427
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)