소스 검색

Add provision user

Vadim Surkov 6 년 전
부모
커밋
470a195a51
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      Dockerfile

+ 4 - 1
Dockerfile

@@ -6,4 +6,7 @@ LABEL maintainer="surkov.v@sdsys.ru"
 RUN --mount=type=bind,source=./files,target=/tmp/files \
 RUN --mount=type=bind,source=./files,target=/tmp/files \
     yum install -y epel-release \
     yum install -y epel-release \
     && yum install -y python2-pip \
     && yum install -y python2-pip \
-    && pip install -r /tmp/files/requirements.txt
+    && pip install -r /tmp/files/requirements.txt \
+    && adduser provision
+
+USER provision