Spaces:
Runtime error
Runtime error
Commit
·
c839bfb
1
Parent(s):
7238e26
dataaaa
Browse files- 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"]
|