forked from Streampunk/beamcoder
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9954641
commit 11b7c06
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM cimg/node:16.13 | ||
|
||
# install FFmpeg | ||
RUN sudo apt-get update \ | ||
&& sudo apt-get install software-properties-common \ | ||
&& sudo add-apt-repository ppa:savoury1/ffmpeg4 \ | ||
&& sudo apt-get update \ | ||
&& sudo apt-get upgrade && sudo apt-get dist-upgrade \ | ||
&& sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev | ||
|
||
# delete all the apt list files since they're big and get stale quickly | ||
RUN sudo rm -rf /var/lib/apt/lists/* | ||
# this forces "apt-get update" in dependent images, which is also good |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Instructions for building the CircleCI docker image for testing | ||
|
||
- install docker desktop | ||
- cd to this directory | ||
- docker build -t streampunkmedia/testbeam:x-y.z . | ||
- run container locally to check build | ||
- push to Docker Hub | ||
- update config.yml to pull new version tag | ||
- push to git to trigger new build and test | ||
|
||
(x: NodeAPI base version, y.z: FFmpeg build number) | ||
|
||
See https://circleci.com/developer/images/image/cimg/node for CircleCI docker image tags |