Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mikehenrty/1f01e5a59ca62934fea72c5c5a33829f to your computer and use it in GitHub Desktop.
Save mikehenrty/1f01e5a59ca62934fea72c5c5a33829f to your computer and use it in GitHub Desktop.
# Dockerfile
FROM amazonlinux:latest
COPY ./MariaDB.repo /etc/yum.repos.d/
RUN yum makecache fast
RUN yum -y install MariaDB-server MariaDB-client
# MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment