From 61a89176239828d8ffcb4c346800826cfd7ff719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Tue, 24 Oct 2023 11:50:46 +0200 Subject: [PATCH] Simplify recording --- selenium/video/Dockerfile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/selenium/video/Dockerfile b/selenium/video/Dockerfile index 920570ad0..d49c0893a 100644 --- a/selenium/video/Dockerfile +++ b/selenium/video/Dockerfile @@ -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"]