hopefulyl fixed
This commit is contained in:
parent
e9766de877
commit
aec97e9972
2 changed files with 6 additions and 22 deletions
|
|
@ -6,10 +6,13 @@ WORKDIR /src
|
|||
RUN git clone https://github.com/pulsejet/memories.git . \
|
||||
&& git checkout "$MEMORIES_COMMIT"
|
||||
|
||||
WORKDIR /src/go-vod
|
||||
WORKDIR /src
|
||||
COPY patches/go-vod-sheepflix.patch /tmp/go-vod-sheepflix.patch
|
||||
RUN git apply /tmp/go-vod-sheepflix.patch \
|
||||
&& gofmt -w transcoder/handler.go transcoder/stream.go \
|
||||
RUN git apply --check --directory=go-vod /tmp/go-vod-sheepflix.patch \
|
||||
&& git apply --directory=go-vod /tmp/go-vod-sheepflix.patch
|
||||
|
||||
WORKDIR /src/go-vod
|
||||
RUN gofmt -w transcoder/handler.go transcoder/stream.go \
|
||||
&& CGO_ENABLED=0 go build -ldflags="-s -w" -o /go-vod .
|
||||
|
||||
# go-vod itself uses Jellyfin's FFmpeg distribution. Pin the stable Jellyfin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue