From 79f7ee099c795c9809e87cc28b8322bc8cf2d8e8 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 12 Jul 2024 15:36:34 -0700 Subject: [PATCH] Add deprecation message for Alpine images --- Dockerfile.alpine | 3 +++ alpine_deprecation.sh | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100755 alpine_deprecation.sh diff --git a/Dockerfile.alpine b/Dockerfile.alpine index d267d8e..11351ac 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -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"] diff --git a/alpine_deprecation.sh b/alpine_deprecation.sh new file mode 100755 index 0000000..cbb8844 --- /dev/null +++ b/alpine_deprecation.sh @@ -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 "$@"