jibri: simplify Dockerfile
Slightly reduce layer count by running everything in a single RUN. Also reduce build time by skipping some unneeded apt update / cleanups.
This commit is contained in:
@@ -8,20 +8,18 @@ LABEL org.opencontainers.image.url="https://github.com/jitsi/jibri"
|
||||
LABEL org.opencontainers.image.source="https://github.com/jitsi/docker-jitsi-meet"
|
||||
LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/"
|
||||
|
||||
RUN apt-dpkg-wrap apt-get update && \
|
||||
apt-dpkg-wrap apt-get install -y jibri libgl1-mesa-dri procps jitsi-upload-integrations jq && \
|
||||
apt-cleanup
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
ARG USE_CHROMIUM=0
|
||||
#ARG CHROME_RELEASE=latest
|
||||
#ARG CHROMEDRIVER_MAJOR_RELEASE=latest
|
||||
ARG CHROME_RELEASE=102.0.5005.61
|
||||
ARG CHROMEDRIVER_MAJOR_RELEASE=102
|
||||
COPY build/install-chrome.sh /install-chrome.sh
|
||||
RUN /install-chrome.sh && \
|
||||
rm /install-chrome.sh
|
||||
|
||||
COPY rootfs/ /
|
||||
|
||||
RUN apt-dpkg-wrap apt-get update && \
|
||||
apt-dpkg-wrap apt-get install -y jibri libgl1-mesa-dri procps jitsi-upload-integrations jq && \
|
||||
/usr/bin/install-chrome.sh && \
|
||||
apt-cleanup
|
||||
|
||||
VOLUME /config
|
||||
|
||||
Reference in New Issue
Block a user