Created
January 14, 2023 05:07
-
-
Save joshmenden/2f6dcdd8f746453fe29d20ea9221a8e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
ENV MYSQL_ALLOW_EMPTY_PASSWORD=true | |
ADD sakila-schema.sql /tmp/sakila-schema.sql | |
ADD sakila-data.sql /tmp/sakila-data.sql | |
RUN apt-get update && apt-get -y install mysql-server vim | |
RUN service mysql restart \ | |
&& mysql -u root < /tmp/sakila-schema.sql \ | |
&& mysql -u root < /tmp/sakila-data.sql | |
ENTRYPOINT mysqld_safe --bind-address=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment