Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.01 KB

MySQL on an ARMv7 docker base

Based on: https://github.com/docker-library/mysql/tree/master/5.7

Tags

Source

Building, testing, tagging, pushing

  docker build -t beercan1989/arm-mysql:latest .

  docker run -it \
    -e 'MYSQL_ROOT_PASSWORD=password' \
    -e 'MYSQL_DATABASE=identity' \
    -e 'MYSQL_USER=identity' \
    -e 'MYSQL_PASSWORD=password' \
    -p '3306:3306' \
    --name example_mysql \
    beercan1989/arm-mysql:latest

  docker login

  docker tag beercan1989/arm-mysql:latest beercan1989/arm-mysql:5
  docker tag beercan1989/arm-mysql:latest beercan1989/arm-mysql:5.7
  docker tag beercan1989/arm-mysql:latest beercan1989/arm-mysql:5.7.12

  docker push beercan1989/arm-mysql:latest
  docker push beercan1989/arm-mysql:5
  docker push beercan1989/arm-mysql:5.7
  docker push beercan1989/arm-mysql:5.7.12