openvidu/openvidu-test-e2e/docker/Dockerfile

38 lines
1.2 KiB
Docker
Raw Permalink Normal View History

FROM ubuntu:22.04
2017-12-06 21:35:38 +01:00
2020-11-16 15:09:13 +01:00
LABEL maintainer="info@openvidu.io"
2017-10-18 17:41:46 +02:00
USER root
2023-03-31 13:00:48 +02:00
RUN apt-get update && apt-get -y upgrade && \
apt-get install -y --no-install-recommends apt-utils && \
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
2023-03-31 13:00:48 +02:00
ffmpeg \
git \
gnupg \
2023-03-31 13:00:48 +02:00
iproute2 \
lsb-release \
2023-03-31 13:00:48 +02:00
maven \
openjdk-11-jdk-headless \
rsync \
software-properties-common \
sudo && \
2024-07-02 19:19:05 +02:00
curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs && \
2023-03-31 13:00:48 +02:00
npm install -g http-server@latest && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove --purge -y && apt-get autoclean
# Docker
RUN sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && \
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
2017-12-06 21:35:38 +01:00
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
2017-10-18 17:41:46 +02:00
2017-12-06 21:35:38 +01:00
ENTRYPOINT ["/entrypoint.sh"]