feature(Dockerfile): update base image
This commit is contained in:
parent
036cac764c
commit
3e4ea22d92
@ -1,5 +1,5 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Dockerfile" type="docker-deploy" factoryName="dockerfile" server-name="Docker on CODE">
|
<configuration default="false" name="Dockerfile" type="docker-deploy" factoryName="dockerfile" server-name="Docker LOCAL">
|
||||||
<deployment type="dockerfile">
|
<deployment type="dockerfile">
|
||||||
<settings>
|
<settings>
|
||||||
<option name="imageTag" value="docker.asifbacchus.dev/mariadb/ab-mariadb-alpine" />
|
<option name="imageTag" value="docker.asifbacchus.dev/mariadb/ab-mariadb-alpine" />
|
||||||
@ -11,7 +11,7 @@
|
|||||||
</DockerEnvVarImpl>
|
</DockerEnvVarImpl>
|
||||||
<DockerEnvVarImpl>
|
<DockerEnvVarImpl>
|
||||||
<option name="name" value="GIT_COMMIT" />
|
<option name="name" value="GIT_COMMIT" />
|
||||||
<option name="value" value="f3627e136a" />
|
<option name="value" value="036cac764c" />
|
||||||
</DockerEnvVarImpl>
|
</DockerEnvVarImpl>
|
||||||
<DockerEnvVarImpl>
|
<DockerEnvVarImpl>
|
||||||
<option name="name" value="BUILD_DATE" />
|
<option name="name" value="BUILD_DATE" />
|
||||||
|
@ -22,12 +22,12 @@ LABEL org.opencontainer.image.url="https://git.asifbacchus.dev/ab-docker/ab-mari
|
|||||||
LABEL org.opencontainer.image.vendor="Asif Bacchus <asif@asifbacchus.dev>"
|
LABEL org.opencontainer.image.vendor="Asif Bacchus <asif@asifbacchus.dev>"
|
||||||
|
|
||||||
# install mariadb and turn on TCP connection in default config
|
# install mariadb and turn on TCP connection in default config
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache --update add \
|
||||||
tzdata \
|
tzdata \
|
||||||
mariadb>${MARIADB_VERSION} \
|
mariadb>${MARIADB_VERSION} \
|
||||||
mariadb-client>${MARIADB_VERSION} \
|
mariadb-client>${MARIADB_VERSION} \
|
||||||
mariadb-server-utils>${MARIADB_VERSION} \
|
mariadb-server-utils>${MARIADB_VERSION} \
|
||||||
&& rm -f /var/cache/apk/* \
|
&& apk --no-cache --update --upgrade \
|
||||||
&& sed -i 's/skip-networking/skip-networking=0/' /etc/my.cnf.d/mariadb-server.cnf
|
&& sed -i 's/skip-networking/skip-networking=0/' /etc/my.cnf.d/mariadb-server.cnf
|
||||||
|
|
||||||
# expose ports
|
# expose ports
|
||||||
|
Loading…
Reference in New Issue
Block a user