Explorar el Código

make dockerfile work on centos

George S. Baugh hace 5 años
padre
commit
054ad10fe9
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -10,7 +10,9 @@ RUN useradd tcms
 RUN apt-get update
 RUN apt-get install -y make apt-utils mlocate
 
-ADD --chown=tcms . /home/tcms
+ADD . /home/tcms
+RUN mkdir /home/tcms/.tcms
+RUN chown -R tcms /home/tcms
 
 WORKDIR /home/tcms