File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 2
2
FROM archlinux as base
3
3
4
4
RUN pacman -Syuu --noconfirm
5
+ RUN pacman-db-upgrade
5
6
6
- # Install packages available from standard repos
7
- RUN pacman-db-upgrade && \
8
- pacman -S --noconfirm --needed \
9
- wget curl pkg-config zip unzip tar git && \
10
- pacman -S --noconfirm \
11
- nodejs && \
12
- pacman -Scc --noconfirm
13
-
14
- # install yay
15
- # RUN useradd -m -G nobody -s /bin/bash yay && passwd -d yay && echo "yay ALL=(ALL) ALL" >> /etc/sudoers
16
- # RUN git clone --depth 1 https://aur.archlinux.org/yay.git /opt/yay && cd /opt/yay && \
17
- # chown -R yay:root . && chmod -R 775 . && \
18
- # runuser -l yay -c "cd /opt/yay && makepkg -si --noprogressbar --noconfirm"
7
+ # nodejs
8
+ RUN pacman -S --noconfirm --needed nodejs
19
9
20
10
# add setup_cpp.js
21
11
COPY "./dist/" "/"
22
12
WORKDIR "/"
23
13
24
14
# run installation
15
+ RUN pacman -S --noconfirm --needed curl
25
16
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
26
17
27
18
# clean up
You can’t perform that action at this time.
0 commit comments