Add deprecation message for Alpine images

This commit is contained in:
ViViDboarder 2024-07-12 15:36:34 -07:00
parent e0c3582bdb
commit 79f7ee099c
2 changed files with 13 additions and 0 deletions

View File

@ -20,4 +20,7 @@ COPY --from=builder \
/home/rust/src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap \ /home/rust/src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap \
/usr/local/bin/ /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"] CMD ["/usr/local/bin/vaultwarden_ldap"]

10
alpine_deprecation.sh Executable file
View File

@ -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 "$@"