Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Simplify recording
Browse files Browse the repository at this point in the history
  • Loading branch information
misi committed Oct 26, 2023
1 parent 5a2dd34 commit 61a8917
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions selenium/video/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
FROM alpine:3.12
FROM alpine:3.18

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"]

0 comments on commit 61a8917

Please sign in to comment.