Skip to content
Snippets Groups Projects
Commit 337b2765 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Add templight image

parent 1f66c868
No related branches found
No related tags found
No related merge requests found
Pipeline #41910 failed
......@@ -40,3 +40,6 @@ deploy:osc:
 
deploy:alt-builder:
<<: *push-only-job
deploy:templight:
<<: *push-only-job
FROM archlinux/base
# install alib dependencies, create build user, yay dependencies
RUN pacman -Syu --noconfirm base-devel cmake ninja python libxml2 tclap readline qt5-base graphviz jsoncpp \
git sudo go boost && \
useradd builduser -m && \
passwd -d builduser && \
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers && \
git clone https://aur.archlinux.org/yay.git && \
chown -R builduser:builduser yay && \
cd yay && \
sudo -u builduser makepkg --noconfirm && \
pacman -U --noconfirm yay-*pkg.tar.xz
# templight
RUN sudo -u builduser yay -S --noconfirm --cleanafter templight-git && rm -fr /home/builduser/.cache
# https://github.com/mikael-s-persson/templight-tools
RUN git clone https://github.com/mikael-s-persson/templight-tools && \
cd templight-tools && \
mkdir build && cd build && \
cmake .. && make
ENV PATH="/templight-tools/build/bin:${PATH}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment