Adds an arch builder environment

This commit is contained in:
zontreck 2024-10-05 19:52:25 -07:00
parent e051a81384
commit e99f725971
13 changed files with 128 additions and 16 deletions

View file

@ -6,8 +6,17 @@ LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
SHELL [ "/bin/bash", "-c" ]
ENV HOME /root
ENV DOCKER 1
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
USER root
WORKDIR /
RUN echo yes | pacman -Syu
RUN echo yes | pacman -S rsync zip unzip file
RUN pacman --noconfirm -Syu
RUN pacman --noconfirm -S rsync zip unzip file
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN echo "LANG=en_US.UTF-8" >> /etc/locale.conf
RUN pacman --noconfirm -S locales
RUN locale-gen en_US.UTF-8