File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ RUN set -ex; \
76
76
apt-key list
77
77
78
78
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x
79
- ARG MARIADB_MAJOR=10.9
80
- ENV MARIADB_MAJOR $MARIADB_MAJOR
81
79
ARG MARIADB_VERSION=1:10.9.0+maria~jammy
82
80
ENV MARIADB_VERSION $MARIADB_VERSION
83
81
# release-status:Alpha
@@ -100,8 +98,8 @@ RUN set -e;\
100
98
# also, we set debconf keys to make APT a little quieter
101
99
RUN set -ex; \
102
100
{ \
103
- echo "mariadb-server-$MARIADB_MAJOR " mysql-server/root_password password 'unused' ; \
104
- echo "mariadb-server-$MARIADB_MAJOR " mysql-server/root_password_again password 'unused' ; \
101
+ echo "mariadb-server" mysql-server/root_password password 'unused' ; \
102
+ echo "mariadb-server" mysql-server/root_password_again password 'unused' ; \
105
103
} | debconf-set-selections; \
106
104
apt-get update; \
107
105
apt-get install -y \
Original file line number Diff line number Diff line change @@ -67,6 +67,14 @@ update_version()
67
67
10.5)
68
68
sed -i ' /backwards compat/d' " $version /Dockerfile"
69
69
;;
70
+ 10.9 | 10.10)
71
+ # quoted $ intentional
72
+ # shellcheck disable=SC2016
73
+ sed -i -e ' /^ARG MARIADB_MAJOR/d' \
74
+ -e ' /^ENV MARIADB_MAJOR/d' \
75
+ -e ' s/-\$MARIADB_MAJOR//' \
76
+ " $version /Dockerfile"
77
+ ;&
70
78
* )
71
79
sed -i -e ' /^CMD/s/mysqld/mariadbd/' \
72
80
-e ' /backwards compat/d' " $version /Dockerfile"
You can’t perform that action at this time.
0 commit comments