Sign inSign up

ellerbrock/alpine-mysql-client

By ellerbrock

Updated almost 7 years ago

MySQL Client based on Alpine Linux

Image
1

1M+

ellerbrock/alpine-mysql-client repository overview

docker

alpine-mysql-client

Docker Automated Build Docker Pulls Open Source Love Gitter Chat

Installation

docker pull ellerbrock/alpine-mysql-client

About the Container

Base image is Alpine Linux which is a lightweight Distribution with a small surface area for security concerns, but with enough functionality for development and interactive debugging.

To prevent zombie reaping i run dumb-init as PID 1 which forwards signals to all processes running in the container.

To increase security the container runs as a unprivileged User.
In case you need to run for some reason stuff as root you can do this via docker run -it -u root ellerbrock/alpine-mysql-client ....

Configuration Parameter

These Settings are optional, if not set the default values will be used.

# Optional Configuration Parameter
ARG SYSTEM_TZ
ARG SERVICE_USER
ARG SERVICE_HOME

# Default Settings
ENV SYSTEM_TZ ${SYSTEM_TZ:-Europe/Berlin}
ENV SERVICE_USER ${SERVICE_USER:-mysql}
ENV SERVICE_HOME ${SERVICE_HOME:-/home/${SERVICE_USER}}

Dockerfile example:
docker build \
  --build-arg SYSTEM_TZ=Europe/Berlin \
  -t ellerbrock/alpine-mysql-client:latest .

Documentation: https://docs.docker.com/engine/reference/builder/#/arg

docker-compose example:
  args:
    SYSTEM_TZ: Europe/Berlin
    ...

Documentation: https://docs.docker.com/compose/compose-file/#/args

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

GithubDockernpmTwitterFacebookGoogle+Gitter

Tag summary

Content type

Image

Digest

Size

10.8 MB

Last updated

almost 7 years ago

docker pull ellerbrock/alpine-mysql-client