You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
laughing-hipster/Dockerfile.debian

18 lines
356 B

FROM debian
COPY . /home/dotfiles/Projects/dotfiles
RUN apt-get update && apt-get install -y sudo
RUN useradd -G sudo -U -u 1000 -m -s /bin/bash dotfiles \
&& echo 'dotfiles:dotfiles' | chpasswd \
&& mkdir -p /home/dotfiles/Projects \
&& chown -R dotfiles:dotfiles /home/dotfiles
USER 1000
WORKDIR /home/dotfiles
ENTRYPOINT "/bin/bash"