Skip to content

Commit 282d889

Browse files
committed
MariaDB: Mark 10.5 as EOL
1 parent b4927cb commit 282d889

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

mariadb/10.5/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ LABEL author="Daniel Barton" maintainer="danielb@purpleflaghosting.com"
1414

1515
ENV DEBIAN_FRONTEND=noninteractive
1616

17+
ENV YOLK_EOL_NAG_WARNING=1
18+
1719
RUN apt-get update -y && apt-get install -y --no-install-recommends \
1820
gettext-base \
1921
libnss-wrapper \

mariadb/entrypoint.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
#!/bin/bash
22
cd /home/container || { echo "Could not change to /home/container directory! Exiting."; exit 1; }
33

4+
5+
# Check for end-of-life marker
6+
if [ "${YOLK_EOL_NAG_WARNING+x}" ]; then
7+
echo "======================================================================"
8+
echo "DEPRECATION WARNING:"
9+
echo "This version of MariaDB has been marked as end-of-life."
10+
echo "Please migrate to a supported version as soon as possible to ensure"
11+
echo "continued security updates and support."
12+
echo "This image will be removed/disabled in the near future."
13+
echo "======================================================================"
14+
15+
echo "Execution will continue in ${YOLK_EOL_NAG_DELAY:-10} seconds..."
16+
sleep "${YOLK_EOL_NAG_DELAY:-10}"
17+
fi
18+
19+
420
# Make internal Docker IP address available to processes.
521
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
622
export INTERNAL_IP

0 commit comments

Comments
 (0)