This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and simplify recording image build (#647)
Simpler video recorder image
- Loading branch information
Showing
2 changed files
with
3 additions
and
17 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 |
---|---|---|
@@ -1,21 +1,7 @@ | ||
FROM alpine:3.12 | ||
FROM alpine:3 | ||
|
||
RUN apk add -U alpine-sdk && adduser -g "" -D -G abuild selenoid | ||
USER selenoid | ||
RUN git clone git://git.alpinelinux.org/aports /home/selenoid/aports | ||
ADD APKBUILD /home/selenoid/aports/community/ffmpeg/ | ||
RUN cd /home/selenoid/aports/community/ffmpeg/ && \ | ||
abuild checksum && \ | ||
abuild unpack && \ | ||
abuild deps && \ | ||
abuild build | ||
USER root | ||
|
||
FROM alpine:3.12 | ||
|
||
RUN apk add -U x264-libs sdl2 libxcb libbz2 xset pulseaudio-utils && \ | ||
RUN apk add -U x264-libs sdl2 libxcb libbz2 xset pulseaudio-utils ffmpeg && \ | ||
rm -rf /var/cache/apk/* | ||
COPY --from=0 /home/selenoid/aports/community/ffmpeg/src/ffmpeg-4.3/ffmpeg /usr/bin/ffmpeg | ||
|
||
COPY entrypoint.sh / | ||
ENTRYPOINT ["/entrypoint.sh"] |
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