From 8b3fc0886f14e459e56050b93711282030adbc94 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 19 Feb 2022 07:30:34 -0700 Subject: [PATCH] refactor(Dockerfile): set minimum versions --- .../.idea/git_toolbox_prj.xml | 15 +++++++++++++++ .../.idea/indexLayout.xml | 2 +- .../.idea/markdown.xml | 9 +++++++++ Dockerfile | 10 +++++----- 4 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 .idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml create mode 100644 .idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml diff --git a/.idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml b/.idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml new file mode 100644 index 0000000..b382006 --- /dev/null +++ b/.idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.ab-mariadb-alpine.dir/.idea/indexLayout.xml b/.idea/.idea.ab-mariadb-alpine.dir/.idea/indexLayout.xml index 27ba142..7b08163 100644 --- a/.idea/.idea.ab-mariadb-alpine.dir/.idea/indexLayout.xml +++ b/.idea/.idea.ab-mariadb-alpine.dir/.idea/indexLayout.xml @@ -1,6 +1,6 @@ - + diff --git a/.idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml b/.idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml new file mode 100644 index 0000000..1e34094 --- /dev/null +++ b/.idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 63f287e..134fe2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # -### mariadb running on Alpine Linux +# mariadb running on Alpine Linux # # version arguments @@ -22,11 +22,11 @@ LABEL org.opencontainer.image.url="https://git.asifbacchus.dev/ab-docker/ab-mari LABEL org.opencontainer.image.vendor="Asif Bacchus " # install mariadb and turn on TCP connection in default config -RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main add \ +RUN apk --no-cache add \ tzdata \ - mariadb \ - mariadb-client \ - mariadb-server-utils \ + mariadb>${MARIADB_VERSION} \ + mariadb-client>${MARIADB_VERSION} \ + mariadb-server-utils>${MARIADB_VERSION} \ && rm -f /var/cache/apk/* \ && sed -i 's/skip-networking/skip-networking=0/' /etc/my.cnf.d/mariadb-server.cnf