Commit 36381f8a by Hubert

init

0 parents
Showing with 33 additions and 0 deletions
version: '2'
services:
butterflow:
build: .
restart: always
volumes:
- ./data:/data
FROM base/archlinux
RUN pacman --noconfirm -Syu
RUN pacman --noconfirm -S git sudo base-devel vim
RUN chmod 640 /etc/sudoers && echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && chmod 440 /etc/sudoers && useradd -m -p123123 -G wheel yaourt
RUN sudo -u yaourt rm -rf /tmp/package-query && \
sudo -u yaourt rm -rf /tmp/yaourt && \
cd /tmp && \
sudo -u yaourt git clone https://aur.archlinux.org/package-query.git && \
cd /tmp/package-query && \
yes | sudo -u yaourt makepkg -si && \
cd .. && \
sudo -u yaourt git clone https://aur.archlinux.org/yaourt.git && \
cd /tmp/yaourt && \
yes | sudo -u yaourt makepkg -si && \
cd .. && \
echo 'EXPORT=2' >> /etc/yaourtrc && \
sudo -u yaourt yaourt --version
RUN sudo -u yaourt yaourt -Sy --noconfirm butterflow
RUN sudo gpg --import 702353E0F7E48EDB
RUN sudo -u yaourt yaourt -S --noconfirm intel-opencl-runtime
CMD /bin/bash
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!