|
@@ -123,19 +123,18 @@ RUN cd /src/sunshine && \
|
|
|
# Remplacement du FFmpeg précompilé de LizardByte par le nôtre.
|
|
# Remplacement du FFmpeg précompilé de LizardByte par le nôtre.
|
|
|
COPY --from=ffmpeg-build /opt/build-deps/ffmpeg /tmp/custom-ffmpeg
|
|
COPY --from=ffmpeg-build /opt/build-deps/ffmpeg /tmp/custom-ffmpeg
|
|
|
|
|
|
|
|
-RUN rm -rf \
|
|
|
|
|
- /src/sunshine/third-party/build-deps/ffmpeg/Linux-x86_64 && \
|
|
|
|
|
- mkdir -p \
|
|
|
|
|
- /src/sunshine/third-party/build-deps/ffmpeg/Linux-x86_64 && \
|
|
|
|
|
|
|
+RUN cd /src/sunshine && \
|
|
|
|
|
+ ./scripts/linux_build.sh \
|
|
|
|
|
+ --sudo-off \
|
|
|
|
|
+ --step=cmake
|
|
|
|
|
+
|
|
|
|
|
+RUN rm -rf /src/sunshine/build/_deps/ffmpeg && \
|
|
|
|
|
+ mkdir -p /src/sunshine/build/_deps/ffmpeg && \
|
|
|
cp -a \
|
|
cp -a \
|
|
|
/tmp/custom-ffmpeg/. \
|
|
/tmp/custom-ffmpeg/. \
|
|
|
- /src/sunshine/third-party/build-deps/ffmpeg/Linux-x86_64/
|
|
|
|
|
|
|
+ /src/sunshine/build/_deps/ffmpeg/
|
|
|
|
|
|
|
|
-# Configuration + compilation + création du .deb
|
|
|
|
|
RUN cd /src/sunshine && \
|
|
RUN cd /src/sunshine && \
|
|
|
- ./scripts/linux_build.sh \
|
|
|
|
|
- --sudo-off \
|
|
|
|
|
- --step=cmake && \
|
|
|
|
|
./scripts/linux_build.sh \
|
|
./scripts/linux_build.sh \
|
|
|
--sudo-off \
|
|
--sudo-off \
|
|
|
--step=build && \
|
|
--step=build && \
|