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