Skip to content

Instantly share code, notes, and snippets.

@quangIO
Last active August 18, 2019 06:21
Show Gist options
  • Save quangIO/93688d1d4b118937e0cf352aa271b441 to your computer and use it in GitHub Desktop.
Save quangIO/93688d1d4b118937e0cf352aa271b441 to your computer and use it in GitHub Desktop.
Test against reference implementation
FROM base/archlinux
RUN pacman -Syuq --needed --noconfirm git base-devel sudo
RUN echo "Defaults lecture = never" > /etc/sudoers.d/privacy \
&& echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel \
&& useradd -m -G wheel -s /bin/bash builder
USER builder
WORKDIR /home/builder
RUN git clone --depth 1 https://aur.archlinux.org/yay.git \
&& cd yay \
&& makepkg -si --noconfirm \
&& cd .. && rm -rf yay
RUN yay --needed --mflags "--skipinteg" --noconfirm -S seastar-git wavm-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment