try to build nginx from alpine

This commit is contained in:
hugo gogo
2022-09-06 12:45:50 +02:00
parent c2ecbf5e11
commit 409599d558
4 changed files with 45 additions and 27 deletions

View File

@@ -2,6 +2,10 @@ FROM debian:buster
RUN apt update && apt install -y mariadb-client mariadb-server
RUN mariadb --execute="create database db_hugo_test; create user 'u_hugo_test'@'localhost' identified by 'hello'; grant all privileges on *.* to 'u_hugo_test'@'localhost' with grant option;"
RUN service mysql start
RUN mariadb --execute="create database db_hugo_test;"
RUN mariadb --execute="create user 'u_hugo_test'@'localhost' identified by 'hello';"
RUN mariadb --execute="grant all privileges on *.* to 'u_hugo_test'@'localhost' with grant option;"
CMD [ "mysqld" ]