Skip to content

Instantly share code, notes, and snippets.

@HokieGeek
Last active March 28, 2016 00:56
Show Gist options
  • Save HokieGeek/535045fc7875bf0863ed to your computer and use it in GitHub Desktop.
Save HokieGeek/535045fc7875bf0863ed to your computer and use it in GitHub Desktop.
A minimal arch docker container
FROM base/arch:latest
RUN pacman -Sy --noconfirm --needed archlinux-keyring
RUN pacman -Sy --noconfirm --needed base-devel
RUN pacman-db-upgrade
RUN pacman -Sy --noconfirm --needed ca-certificates
RUN pacman -S --noconfirm --needed vim tmux zsh
RUN pacman -S --noconfirm --needed docker thin-provisioning-tools
RUN pacman -S --noconfirm --needed git mercurial
# RUN pacman -S --noconfirm --needed yajl
# RUN useradd pkgbldr -G root
# USER pkgbldr
# WORKDIR /tmp
# RUN git clone https://aur.archlinux.org/package-query.git
# RUN cd package-query && makepkg && cd -
# RUN git clone https://aur.archlinux.org/yaourt.git
# RUN cd yaourt && makepkg -s && cd -
# RUN userdel pkgbldr
# USER root
# RUN cd package-query && pacman -U package-query*.tar.xz && cd -
# RUN cd yaourt && pacman -U yaourt*.tar.xz && cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment