File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:16.04
2
+ LABEL authors=
"Octavian Purdila <[email protected] >"
3
+
4
+ RUN apt-get update && \
5
+ apt-get install -y software-properties-common && \
6
+ add-apt-repository ppa:git-core/ppa && \
7
+ apt-get update && \
8
+ apt-get install -y sudo make git python python-pip ditaa && \
9
+ rm -rf /var/lib/apt/lists/*
10
+
11
+ RUN useradd -ms /bin/bash ubuntu && adduser ubuntu sudo && echo -n 'ubuntu:ubuntu' | chpasswd
12
+
13
+ # Enable passwordless sudo for users under the "sudo" group
14
+ RUN sed -i.bkp -e \
15
+ 's/%sudo\s\+ ALL=(ALL\( :ALL\)\? )\s\+ ALL/%sudo ALL=NOPASSWD:ALL/g' \
16
+ /etc/sudoers
17
+
18
+ USER ubuntu
19
+ WORKDIR /home/ubuntu/
20
+
21
+ ENV PATH ${PATH}:/home/ubuntu/.local
22
+
23
+ RUN git clone git://github.com/linux-kernel-labs/linux-kernel-labs.github.io.git
24
+
25
+ RUN git clone git://github.com/linux-kernel-labs/linux.git
26
+
27
+ RUN pip install -r linux/tools/labs/requirements.txt
You can’t perform that action at this time.
0 commit comments