FROM base/archlinux
-RUN echo 'Server = http://mirror.23media.de/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist && \
- pacman-key --init && \
- pacman-key --populate archlinux && \
- pacman -Sy --noconfirm archlinux-keyring && \
- pacman -S --noconfirm pacman && \
- pacman-db-upgrade && \
- pacman -Su --noconfirm && \
- pacman -S --noconfirm mesa-libgl xorg-server-xvfb && \
- paccache -rk 0
+RUN echo 'Server = http://mirror.23media.de/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist \
+ && pacman-key --init \
+ && pacman-key --populate archlinux \
+ && pacman -Sy --noconfirm archlinux-keyring \
+ && pacman -S --noconfirm pacman \
+ && pacman-db-upgrade \
+ && pacman -Su --noconfirm \
+ && pacman -S --noconfirm \
+ git \
+ make \
+ mesa-libgl \
+ xorg-server-xvfb \
+ && paccache -rk 0 \
+ ;
RUN pacman -S --needed --noconfirm \
- freealut \
- glew \
- openal \
- sdl2 \
- sdl2_image \
- sdl2_net \
- sdl2_ttf \
- zlib \
- && \
- paccache -rk 0 && \
- mkdir -p /etc/openal && \
- echo -e '[general]\ndrivers = null' > /etc/openal/alsoft.conf
+ freealut \
+ glew \
+ openal \
+ sdl2 \
+ sdl2_image \
+ sdl2_net \
+ sdl2_ttf \
+ zlib \
+ && paccache -rk 0 \
+ && mkdir -p /etc/openal \
+ && echo -e '[general]\ndrivers = null' > /etc/openal/alsoft.conf \
+ ;
RUN apt -y update \
&& apt -y upgrade \
&& apt -y install --no-install-recommends \
+ git \
make \
xauth \
xvfb \
;
RUN apt -y install --no-install-recommends \
- libalut0 \
- libglew1.10 \
- libglu1-mesa \
- libopenal1 \
- libsdl2-2.0-0 \
- libsdl2-image-2.0-0 \
- libsdl2-net-2.0-0 \
- libsdl2-ttf-2.0-0 \
- zlib1g \
+ libalut0 \
+ libglew1.10 \
+ libglu1-mesa \
+ libopenal1 \
+ libsdl2-2.0-0 \
+ libsdl2-image-2.0-0 \
+ libsdl2-net-2.0-0 \
+ libsdl2-ttf-2.0-0 \
+ zlib1g \
&& apt-get -y clean \
&& echo -e '[general]\ndrivers = null' > /etc/openal/alsoft.conf \
;
fi
docker build -t "${image_name}" --pull=true "${image_path}"
-docker run -v "$PWD":/repo ${local_conf} "${image_name}" sh -c "$xvfb_cmd sh -c 'env ; glewinfo | head ; ${build_cmd}'"
+docker run -v "$PWD":/repo ${local_conf} "${image_name}" sh -c "$xvfb_cmd sh -c '${build_cmd}'"
RUN apt -y update \
&& apt -y upgrade \
&& apt -y install --no-install-recommends \
+ git \
make \
xauth \
xvfb \
;
-RUN apt -y install --no-install-recommends make \
- libalut0 \
- libglew1.10 \
- libglu1-mesa \
- libopenal1 \
- libsdl2-2.0-0 \
- libsdl2-image-2.0-0 \
- libsdl2-net-2.0-0 \
- libsdl2-ttf-2.0-0 \
- zlib1g \
+RUN apt -y install --no-install-recommends \
+ libalut0 \
+ libglew1.10 \
+ libglu1-mesa \
+ libopenal1 \
+ libsdl2-2.0-0 \
+ libsdl2-image-2.0-0 \
+ libsdl2-net-2.0-0 \
+ libsdl2-ttf-2.0-0 \
+ zlib1g \
&& apt-get -y clean \
&& echo -e '[general]\ndrivers = null' > /etc/openal/alsoft.conf \
;