mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-12-16 03:58:42 +00:00
Some checks failed
citra-build / source (push) Has been cancelled
citra-build / linux (appimage) (push) Has been cancelled
citra-build / linux (fresh) (push) Has been cancelled
citra-build / macos (arm64) (push) Has been cancelled
citra-build / macos (x86_64) (push) Has been cancelled
citra-build / windows (msvc) (push) Has been cancelled
citra-build / windows (msys2) (push) Has been cancelled
citra-build / android (push) Has been cancelled
citra-build / docker (push) Has been cancelled
citra-format / clang-format (push) Has been cancelled
citra-transifex / transifex (push) Has been cancelled
citra-build / macos-universal (push) Has been cancelled
32 lines
1.2 KiB
Docker
32 lines
1.2 KiB
Docker
# This Dockerfile assumes that it is being built from the project root directory, e.g.:
|
|
# $ docker build -f docker/azahar-room/Dockerfile -t azahar-room .
|
|
|
|
# --- Builder ----------------
|
|
FROM opensauce04/azahar-build-environment:latest AS builder
|
|
|
|
COPY . /var/azahar-src
|
|
|
|
RUN mkdir builddir && cd builddir && \
|
|
cmake /var/azahar-src -G Ninja \
|
|
-DENABLE_QT=OFF \
|
|
-DENABLE_TESTS=OFF \
|
|
-DENABLE_ROOM=ON \
|
|
-DENABLE_ROOM_STANDALONE=ON \
|
|
-DENABLE_OPENGL=OFF $(:"TODO: Can we disable these automatically when there's no frontend?") \
|
|
-DENABLE_VULKAN=OFF \
|
|
-DENABLE_SDL2=OFF \
|
|
-DENABLE_LIBUSB=OFF \
|
|
-DENABLE_CUBEB=OFF \
|
|
-DENABLE_OPENAL=OFF && \
|
|
ninja && \
|
|
mv bin/Release/azahar-room /usr/local/bin/ && \
|
|
cd .. && rm -rf builddir
|
|
|
|
# --- Final ------------------
|
|
FROM debian:trixie AS final
|
|
|
|
RUN apt-get update && apt-get -y full-upgrade
|
|
RUN apt-get install -y iputils-ping net-tools
|
|
|
|
COPY --from=builder /usr/local/bin/azahar-room /usr/local/bin/azahar-room
|