-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathubuntu.Dockerfile
More file actions
35 lines (28 loc) · 1006 Bytes
/
ubuntu.Dockerfile
File metadata and controls
35 lines (28 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# FROM ubuntu:18.04
# RUN apt update -y && apt install git sudo vim curl wget python3 zsh build-essential -y
# RUN useradd -ms /bin/bash markkizz && \
# passwd -d markkizz && \
# usermod -a -G sudo markkizz && \
# echo '%sudo ALL=(ALL) NOPASSWD' >> /etc/sudoers
# USER markkizz
# # RUN mkdir -p $HOME/dotfiles
# # COPY . .
# RUN sudo chown -R markkizz .
# RUN git clone https://github.com/markkizz/dotfiles
# WORKDIR $HOME/dotfiles
# RUN . -type f -iname "*.sh" -exec chmod +x {} \;
# CMD /bin/bash
FROM ubuntu:18.04
RUN apt update -y && apt install git sudo vim curl wget python3 zsh build-essential -y
RUN useradd -ms /bin/bash markkizz && \
passwd -d markkizz && \
usermod -a -G sudo markkizz && \
echo '%sudo ALL=(ALL) NOPASSWD' >> /etc/sudoers
USER markkizz
RUN mkdir -p $HOME/dotfiles
WORKDIR $HOME/dotfiles
COPY . .
RUN find . -type f -iname "*.sh" -exec chmod +x {} \;
RUN sudo chown -R markkizz .
# RUN git clone https://github.com/markkizz/dotfiles
CMD /bin/bash