Skip to content

Commit dda085d

Browse files
committed
ci: remove excess installations in arch docker
1 parent e8d2cb0 commit dda085d

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

dev/docker/arch_node.dockerfile

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,17 @@
22
FROM archlinux as base
33

44
RUN pacman -Syuu --noconfirm
5+
RUN pacman-db-upgrade
56

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
199

2010
# add setup_cpp.js
2111
COPY "./dist/" "/"
2212
WORKDIR "/"
2313

2414
# run installation
15+
RUN pacman -S --noconfirm --needed curl
2516
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
2617

2718
# clean up

0 commit comments

Comments
 (0)