refactor(Dockerfile): set minimum versions
This commit is contained in:
parent
b9d8fa20c2
commit
8b3fc0886f
15
.idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml
Normal file
15
.idea/.idea.ab-mariadb-alpine.dir/.idea/git_toolbox_prj.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GitToolBoxProjectSettings">
|
||||
<option name="commitMessageIssueKeyValidationOverride">
|
||||
<BoolValueOverride>
|
||||
<option name="enabled" value="true" />
|
||||
</BoolValueOverride>
|
||||
</option>
|
||||
<option name="commitMessageValidationConfigOverride">
|
||||
<CommitMessageValidationOverride>
|
||||
<option name="enabled" value="true" />
|
||||
</CommitMessageValidationOverride>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
|
9
.idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml
Normal file
9
.idea/.idea.ab-mariadb-alpine.dir/.idea/markdown.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MarkdownSettings">
|
||||
<enabledExtensions>
|
||||
<entry key="MermaidLanguageExtension" value="false" />
|
||||
<entry key="PlantUMLLanguageExtension" value="false" />
|
||||
</enabledExtensions>
|
||||
</component>
|
||||
</project>
|
10
Dockerfile
10
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 <asif@asifbacchus.dev>"
|
||||
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user