mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix back arm build
This commit is contained in:
parent
83b8627717
commit
c55c3bca72
@ -1,10 +1,11 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as transcoder
|
||||
# FIXME: We use the sdk 8-preview because of this issue with the 7 https://github.com/dotnet/sdk/issues/29892
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-preview as transcoder
|
||||
RUN apt-get update && apt-get install -y cmake make libavutil-dev libavcodec-dev libavformat-dev
|
||||
WORKDIR /transcoder
|
||||
COPY src/Kyoo.Transcoder .
|
||||
RUN cmake . && make -j
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as builder
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-preview as builder
|
||||
WORKDIR /kyoo
|
||||
|
||||
COPY Kyoo.sln ./Kyoo.sln
|
||||
@ -23,7 +24,7 @@ COPY . .
|
||||
ARG VERSION
|
||||
RUN dotnet publish --no-restore -c Release -o /app "-p:Version=${VERSION:-"0.0.0-dev"};SkipTranscoder=true" src/Kyoo.Host
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-preview
|
||||
RUN apt-get update && apt-get install -y libavutil-dev libavcodec-dev libavformat-dev curl
|
||||
COPY --from=builder /app /app
|
||||
COPY --from=transcoder /transcoder/libtranscoder.so /app
|
||||
|
Loading…
x
Reference in New Issue
Block a user