added some comments to my dockerfile
This commit is contained in:
parent
0d0cb549b8
commit
37ee2f0609
1 changed files with 4 additions and 5 deletions
|
@ -4,15 +4,14 @@ MAINTAINER "Steffen Vogel <post@steffenvogel.de>"
|
|||
|
||||
# Update packages
|
||||
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 upgrade -y
|
||||
RUN apt-get install -y curl git
|
||||
RUN apt-get update -y && apt-get install -y curl git
|
||||
|
||||
# Add user
|
||||
RUN useradd -ms /bin/bash stv0g
|
||||
|
||||
USER stv0g
|
||||
WORKDIR /home/stv0g
|
||||
|
||||
# Install dotfiles
|
||||
WORKDIR /home/stv0g
|
||||
RUN curl -sSL https://raw.githubusercontent.com/stv0g/dotfiles/master/bootstrap.sh | bash
|
||||
|
||||
CMD /bin/bash
|
||||
|
|
Loading…
Add table
Reference in a new issue