Skip to content

Commit

Permalink
Build info for CircleCI test image
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptorian committed Nov 1, 2021
1 parent 9954641 commit 11b7c06
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .circleci/test_image/Dockerfile
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
13 changes: 13 additions & 0 deletions .circleci/test_image/build.md
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

0 comments on commit 11b7c06

Please sign in to comment.