mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-28 19:19:50 +00:00
15 lines
384 B
Docker
15 lines
384 B
Docker
FROM ubuntu
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y sudo locales
|
|
|
|
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 \
|
|
&& useradd -m -s /bin/bash correl \
|
|
&& echo 'correl ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
|
|
|
USER correl
|
|
WORKDIR /home/correl
|
|
COPY . /home/correl/dotfiles
|
|
RUN sudo chown -R correl:correl . \
|
|
&& /home/correl/dotfiles/provision.sh -D
|
|
CMD ["/usr/bin/zsh"]
|