diff --git a/docker/Dockerfile b/docker/Dockerfile index 9ec66e5d..fe62acf3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,6 +38,72 @@ RUN apt-get update \ && npm install -g pm2 \ && cd /enigma-bbs && npm install +RUN apt-get update \ + && apt-get install -y \ + git \ + autoconf \ + build-essential \ + libbsd-dev \ + gawk \ + bison \ + flex \ + pkg-config \ + python3 \ + nasm \ + clang \ + debhelper \ + libelf-dev \ + universal-ctags \ + libsdl2-dev \ + libcap-dev \ + libao-dev \ + libacl1-dev \ + libsearpc-dev \ + cmake \ + libslirp-dev \ + libfluidsynth-dev \ + fluid-soundfont-gs \ + libb64-dev \ + libieee1284-3-dev \ + ladspa-sdk-dev \ + libgpm-dev \ + libxpm-dev \ + libslang2-dev \ + meson + +RUN mkdir git && cd git \ + && git clone https://github.com/stsp/nasm-segelf.git \ + && git clone https://github.com/stsp/thunk_gen.git \ + && git git clone https://github.com/alexfru/SmallerC.git \ + && git clone https://github.com/stsp/djstub.git \ + && git git clone https://github.com/stsp/dj64dev.git \ + && git clone https://github.com/json-c/json-c.git \ + && git clone https://github.com/munt/munt.git \ + && git clone https://github.com/dosemu2/fdpp.git \ + && git https://github.com/dosemu2/install-freedos.git \ + && git clone https://github.com/dosemu2/comcom64.git \ + && git clone https://github.com/dosemu2/dosemu2.git + +RUN cd nasm-segelf && ./configure && make && make install + +RUN cd thunk_gen && ./configure && meson compile --verbose -C build && meson install -C build + +RUN cd SmallerC && ./configure && make && make install + +RUN cd djstub && make && make install + +RUN cd dj64dev && make && make install + +RUN cd fdpp && ./configure && make && make install + +RUN cd munt/mt32emu && cmake -DCMAKE_BUILD_TYPE:STRING=Release . && make && make install + +RUN cd comcom64 && make && make install + +RUN cd install-freedos && make install + +RUN cd dosemu2 && ./default-configure && make && make install + # Do this after npm install to avoid cache-miss on every code change COPY . /enigma-bbs