-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpp_dev_docker.dockerfile
More file actions
86 lines (70 loc) · 1.48 KB
/
cpp_dev_docker.dockerfile
File metadata and controls
86 lines (70 loc) · 1.48 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
FROM archlinux:latest
USER root
RUN pacman -Syu --noconfirm\
;
RUN pacman -S --noconfirm\
sudo\
;
RUN pacman -S --noconfirm\
git\
git-lfs\
curl\
openssh\
;
RUN pacman -S --noconfirm\
gcc\
gdb\
clang\
lldb\
;
RUN pacman -S --noconfirm\
cmake\
ninja\
make\
;
RUN \
pacman -S --noconfirm bash-completion
RUN\
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git &&\
make -C ble.sh install PREFIX=/usr/local/ &&\
echo 'source /usr/local/share/blesh/ble.sh' >> /etc/bash.bashrc ;
RUN pacman -Sy --noconfirm\
base-devel\
flex\
bison\
bc\
busybox\
rsync\
strace\
cpio\
qemu-base\
;
RUN pacman -Sy --noconfirm\
python\
python-pip\
;
RUN pacman -Sy --noconfirm\
python-numpy\
python-scipy\
python-pandas\
python-matplotlib\
;
RUN pip install --break-system-packages\
robotframework\
;
RUN pacman -Sy --noconfirm\
libtar\
sudo\
vi\
;
RUN pacman -Sy --noconfirm\
rustup\
;
RUN\
useradd -m cpp_dev_docker &&\
passwd -d cpp_dev_docker &&\
usermod -aG wheel cpp_dev_docker &&\
sudo sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/g' /etc/sudoers &&\
sudo sed -i 's/# %wheel ALL=(ALL:ALL)/%wheel ALL=(ALL:ALL)/g' /etc/sudoers &&\
sudo sed -i 's/# %sudo ALL=(ALL:ALL)/%sudo ALL=(ALL:ALL)/g' /etc/sudoers ;
USER cpp_dev_docker