ladogton2010 commited on
Commit
9697660
·
1 Parent(s): a30d297

install as root

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -41,7 +41,9 @@ WORKDIR /home/user/mariadb
41
  # RUN ./mysql-test/mtr --parallel=8 --force
42
  RUN ./scripts/mariadb-install-db --srcdir=.
43
  WORKDIR /home/user/mariadb
 
44
  RUN cmake --install .
45
 
 
46
  #CMD ["bash", "-c", "/usr/sbin/mariadbd; tail -F error.log"]
47
  CMD ["bash", "-c", "/usr/sbin/mariadbd --port 7860; tail -F error.log"]
 
41
  # RUN ./mysql-test/mtr --parallel=8 --force
42
  RUN ./scripts/mariadb-install-db --srcdir=.
43
  WORKDIR /home/user/mariadb
44
+ USER root
45
  RUN cmake --install .
46
 
47
+ USER user
48
  #CMD ["bash", "-c", "/usr/sbin/mariadbd; tail -F error.log"]
49
  CMD ["bash", "-c", "/usr/sbin/mariadbd --port 7860; tail -F error.log"]