Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:

- name: Build and push livepeer docker image
uses: docker/build-push-action@v6
env:
BUILDKIT_PROGRESS: plain
with:
build-args: |
BUILD_TAGS=${{ steps.build-tag.outputs.build-tags }}
Expand Down
14 changes: 10 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.3.6 \
&& chmod +x /usr/bin/grpc_health_probe \
&& ldconfig /usr/local/lib

RUN nasm -v
RUN FFMPEG_SHA=b76053d8bf322b197a9d07bd27bbdad14fd5bc15 git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git /ffmpeg \
&& cd /ffmpeg && git fetch --depth 1 origin ${FFMPEG_SHA} \
&& git checkout ${FFMPEG_SHA} \
&& ./configure --enable-gpl --enable-libx264 --enable-libfdk-aac --enable-nonfree --prefix=build && make -j"$(nproc)" && make install

&& cd /ffmpeg \
&& git fetch --depth 1 origin ${FFMPEG_SHA} \
&& git checkout ${FFMPEG_SHA}
WORKDIR /ffmpeg
RUN ./configure --enable-gpl --enable-libx264 --enable-libfdk-aac --enable-nonfree --prefix=build
RUN make -j"$(nproc)"
RUN make install

WORKDIR /
ENV GOPATH=/go \
GO_BUILD_DIR=/build/ \
GOFLAGS="-mod=readonly"
Expand Down
Loading