ladogton2010 commited on
Commit
c839bfb
·
1 Parent(s): 7238e26
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -50,5 +50,7 @@ RUN locate my.cnf
50
 
51
  USER user
52
  RUN mkdir -p /home/user/mariadb/data
 
 
53
  #CMD ["bash", "-c", "/usr/sbin/mariadbd; tail -F error.log"]
54
- CMD ["bash", "-c", "ls /usr/sbin/; /usr/sbin/mariadbd --port 7860; tail -F error.log"]
 
50
 
51
  USER user
52
  RUN mkdir -p /home/user/mariadb/data
53
+
54
+ USER root
55
  #CMD ["bash", "-c", "/usr/sbin/mariadbd; tail -F error.log"]
56
+ CMD ["bash", "-c", "ls /usr/sbin/; updatedb; locate mariadbd /usr/sbin/mariadbd --port 7860; tail -F error.log"]