36 lines
1016 B
Docker
36 lines
1016 B
Docker
|
FROM archlinux/base
|
||
|
|
||
|
RUN echo "Server = http://mirror.internode.on.net/pub/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||
|
#RUN sed -i 's/https/http/g' /etc/pacman.d/mirrorlist
|
||
|
RUN pacman --noconfirm -Syu
|
||
|
RUN pacman --noconfirm -S python3
|
||
|
RUN pacman --noconfirm -S gcc
|
||
|
RUN pacman --noconfirm -S ninja
|
||
|
RUN pacman --noconfirm -S cmake
|
||
|
RUN pacman --noconfirm -S ragel
|
||
|
RUN pacman --noconfirm -S git
|
||
|
RUN pacman --noconfirm -S autoconf
|
||
|
RUN pacman --noconfirm -S automake
|
||
|
RUN pacman --noconfirm -S make
|
||
|
RUN pacman --noconfirm -S asciidoctor
|
||
|
|
||
|
# glfw dependencies
|
||
|
RUN pacman --noconfirm -S libxi
|
||
|
RUN pacman --noconfirm -S libxrandr
|
||
|
RUN pacman --noconfirm -S libxinerama
|
||
|
RUN pacman --noconfirm -S libxcursor
|
||
|
RUN pacman --noconfirm -S libgl
|
||
|
|
||
|
RUN pacman --noconfirm -S bison
|
||
|
RUN pacman --noconfirm -S flex
|
||
|
|
||
|
RUN pacman --noconfirm -S pkg-config
|
||
|
|
||
|
RUN pacman --noconfirm -S glslang
|
||
|
|
||
|
RUN gem install asciidoctor-diagram
|
||
|
|
||
|
COPY build.sh /opt/nerdcruft/
|
||
|
RUN chmod a+rx /opt/nerdcruft/build.sh
|
||
|
|
||
|
ENTRYPOINT /opt/nerdcruft/build.sh
|