]> git.localhorst.tv Git - blank.git/blobdiff - scripts/docker/archlinux-run/Dockerfile
different docker exec approach
[blank.git] / scripts / docker / archlinux-run / Dockerfile
index ed69ac9329b900ba7fa2e3be779df5c30d24f6c2..9bf76dbf8c2449a58d4185a6fc2eaf713ec8412f 100644 (file)
@@ -1,13 +1,25 @@
-FROM rafaelsoares/archlinux
+FROM base/archlinux
 
-RUN sudo pacman -S --noconfirm \
+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 pacman -S --needed --noconfirm \
        freealut \
        glew \
-       glm \
        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