[guadec-web/oscp-2018] Land shadow for useradd, fix variable



commit 207228882e716ce1149bd44c9c4803a38fa46440
Author: Andrea Veri <averi redhat com>
Date:   Fri Sep 28 14:24:37 2018 +0200

    Land shadow for useradd, fix variable

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index ba20cf5..0e3c85d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@
 FROM python:3.6.4-alpine3.7
 
 RUN apk update
-RUN apk add git gcc make libc-dev python3-dev ruby ruby-dev nodejs
+RUN apk add git gcc make libc-dev python3-dev ruby ruby-dev nodejs shadow
 
 RUN npm install -g grunt-cli
 RUN gem install compass -N
@@ -17,7 +17,7 @@ COPY entrypoint.sh /
 ENV GUADEC_HOME=/guadec-web \
     LANG=C
 
-RUN useradd -u 1001 -g 0 -d ${SUPYBOT_HOME}/ -m -r -s /usr/sbin/nologin guadecweb && \
+RUN useradd -u 1001 -g 0 -d ${GUADEC_HOME}/ -m -r -s /usr/sbin/nologin guadecweb && \
 
 USER 1001
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]