Skip to content

Commit

Permalink
Add deprecation message for Alpine images
Browse files Browse the repository at this point in the history
  • Loading branch information
ViViDboarder committed Jul 12, 2024
1 parent e0c3582 commit 79f7ee0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ COPY --from=builder \
/home/rust/src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap \
/usr/local/bin/

COPY alpine_deprecation.sh /usr/local/bin/alpine_deprecation.sh
ENTRYPOINT ["/usr/local/bin/alpine_deprecation.sh"]

CMD ["/usr/local/bin/vaultwarden_ldap"]
10 changes: 10 additions & 0 deletions alpine_deprecation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#! /bin/sh

echo ""
echo "################################################################################"
echo "WARNING: The Alpine images are deprecated and will not recieve continued updates"
echo "Please use the non-Alpine images for the latest updates and features"
echo "################################################################################"
echo ""

exec "$@"

0 comments on commit 79f7ee0

Please sign in to comment.