using root user for Dockerfile
This commit is contained in:
parent
1b7729718e
commit
c06c9e4c4a
1 changed files with 1 additions and 5 deletions
|
@ -6,12 +6,8 @@ MAINTAINER "Steffen Vogel <post@steffenvogel.de>"
|
|||
RUN sed -i 's|http://httpredir.debian.org|ftp://ftp.halifax.rwth-aachen.de|g' /etc/apt/sources.list
|
||||
RUN apt-get update -y && apt-get install -y curl git
|
||||
|
||||
# Add user
|
||||
RUN useradd -ms /bin/bash stv0g
|
||||
USER stv0g
|
||||
|
||||
# Install dotfiles
|
||||
WORKDIR /home/stv0g
|
||||
WORKDIR /root
|
||||
RUN curl -sSL https://raw.githubusercontent.com/stv0g/dotfiles/master/bootstrap.sh | bash
|
||||
|
||||
CMD /bin/bash
|
||||
|
|
Loading…
Add table
Reference in a new issue