Commit 337b2765 authored by Tomáš Pecka's avatar Tomáš Pecka

Add templight image

parent 1f66c868
Pipeline #41910 failed with stage
in 188 minutes and 31 seconds
......@@ -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}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment