Skip to content

Instantly share code, notes, and snippets.

@gwpl
Created April 18, 2021 19:55
Show Gist options
  • Save gwpl/7ca85719f2186b3deca0c299ae0580fa to your computer and use it in GitHub Desktop.
Save gwpl/7ca85719f2186b3deca0c299ae0580fa to your computer and use it in GitHub Desktop.
runki-git pacaur aur.archlinux.org Dockerfile AUR Archlinux Anki Ankiweb
FROM archlinux:latest
RUN pacman -Syyu --noconfirm
RUN pacman -S --noconfirm git
RUN pacman -S --noconfirm vim screen
RUN pacman -S --noconfirm base-devel
RUN pacman -S --noconfirm go go-tools
RUN pacman -S --noconfirm wget aria2 mc cmatrix htop vim
RUN git clone https://aur.archlinux.org/pacaur.git
#RUN set -x ; mkdir /home/nobody && chown -v nobody:nobody /home/nobody && cd /home/nobody/ && sudo -u nobody git clone https://aur.archlinux.org/pacaur.git && cd pacaur/ && sudo -u nobody makepkg -si
# set up the packager user
RUN useradd --create-home packager
#COPY bashrc.sh /home/packager/.bashrc
#COPY packager-actions /etc/sudoers.d/
RUN pacman -S --noconfirm meson gtest gmock
#RUN pacman -S --noconfirm
USER packager
WORKDIR /home/packager/
RUN git clone https://aur.archlinux.org/pod2man.git
WORKDIR /home/packager/pod2man/
RUN makepkg -i --noconfirm
WORKDIR /home/packager/
RUN git clone https://aur.archlinux.org/auracle-git.git
WORKDIR /home/packager/auracle-git/
RUN makepkg -i --noconfirm
WORKDIR /home/packager/
RUN git clone https://aur.archlinux.org/pacaur.git
WORKDIR /home/packager/pacaur/
RUN makepkg -i --noconfirm
WORKDIR /home/packager/
RUN pacaur -S --noconfirm runki-git # https://aur.archlinux.org/packages/runki-git
USER root
EXPOSE 8080
EXPOSE 8123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment