mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-02 13:05:00 -06:00
docker: Break up build commands into seperate RUN calls
I think this was from back when the Dockerfile was first being written, before the 'builder' and 'final' stages were introduced which make this former optimization attempt completely redundant
This commit is contained in:
parent
95d42cb40a
commit
0b7114cbf8
@ -6,16 +6,16 @@ FROM opensauce04/azahar-build-environment:latest AS builder
|
|||||||
|
|
||||||
COPY . /var/azahar-src
|
COPY . /var/azahar-src
|
||||||
|
|
||||||
RUN mkdir builddir && cd builddir && \
|
RUN mkdir ./builddir/
|
||||||
cmake /var/azahar-src -G Ninja \
|
WORKDIR ./builddir/
|
||||||
|
RUN cmake /var/azahar-src -G Ninja \
|
||||||
-DENABLE_QT=OFF \
|
-DENABLE_QT=OFF \
|
||||||
-DENABLE_GDBSTUB=OFF \
|
-DENABLE_GDBSTUB=OFF \
|
||||||
-DENABLE_TESTS=OFF \
|
-DENABLE_TESTS=OFF \
|
||||||
-DENABLE_ROOM=ON \
|
-DENABLE_ROOM=ON \
|
||||||
-DENABLE_ROOM_STANDALONE=ON && \
|
-DENABLE_ROOM_STANDALONE=ON
|
||||||
ninja && \
|
RUN ninja
|
||||||
mv bin/Release/azahar-room /usr/local/bin/ && \
|
RUN mv ./bin/Release/azahar-room /usr/local/bin/
|
||||||
cd .. && rm -rf builddir
|
|
||||||
|
|
||||||
# --- Final ------------------
|
# --- Final ------------------
|
||||||
FROM debian:trixie AS final
|
FROM debian:trixie AS final
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user