switched to useradd instead of adduser in Dockerfile

(adduser is interactive)
This commit is contained in:
Michael Rodler 2016-06-06 16:29:46 +02:00
parent dcf227435c
commit c8f710a70d

View file

@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y build-essential libtool g++ gcc \
texinfo curl wget automake autoconf python python-dev git subversion \ texinfo curl wget automake autoconf python python-dev git subversion \
unzip virtualenvwrapper unzip virtualenvwrapper
RUN adduser ctf RUN useradd -m ctf
COPY .git /home/ctf/tools/.git COPY .git /home/ctf/tools/.git
RUN chown -R ctf.ctf /home/ctf/tools RUN chown -R ctf.ctf /home/ctf/tools