Skip to content

Commit 11b7c06

Browse files
committed
Build info for CircleCI test image
1 parent 9954641 commit 11b7c06

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.circleci/test_image/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM cimg/node:16.13
2+
3+
# install FFmpeg
4+
RUN sudo apt-get update \
5+
&& sudo apt-get install software-properties-common \
6+
&& sudo add-apt-repository ppa:savoury1/ffmpeg4 \
7+
&& sudo apt-get update \
8+
&& sudo apt-get upgrade && sudo apt-get dist-upgrade \
9+
&& sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev
10+
11+
# delete all the apt list files since they're big and get stale quickly
12+
RUN sudo rm -rf /var/lib/apt/lists/*
13+
# this forces "apt-get update" in dependent images, which is also good

.circleci/test_image/build.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Instructions for building the CircleCI docker image for testing
2+
3+
- install docker desktop
4+
- cd to this directory
5+
- docker build -t streampunkmedia/testbeam:x-y.z .
6+
- run container locally to check build
7+
- push to Docker Hub
8+
- update config.yml to pull new version tag
9+
- push to git to trigger new build and test
10+
11+
(x: NodeAPI base version, y.z: FFmpeg build number)
12+
13+
See https://circleci.com/developer/images/image/cimg/node for CircleCI docker image tags

0 commit comments

Comments
 (0)