mirror of https://github.com/OpenVidu/openvidu.git
Update openvidu-test-e2e Dockerfile
parent
3ae582700c
commit
dade445ce7
|
@ -4,50 +4,33 @@ LABEL maintainer="info@openvidu.io"
|
|||
|
||||
USER root
|
||||
|
||||
RUN apt-get update && apt-get -y upgrade
|
||||
|
||||
RUN apt-get install -y \
|
||||
software-properties-common \
|
||||
RUN apt-get update && apt-get -y upgrade && \
|
||||
apt-get install -y --no-install-recommends apt-utils && \
|
||||
apt-get install -y \
|
||||
apt-transport-https \
|
||||
rsync \
|
||||
ca-certificates \
|
||||
curl \
|
||||
ffmpeg \
|
||||
git \
|
||||
gnupg \
|
||||
iproute2 \
|
||||
lsb-release \
|
||||
iproute2 && \
|
||||
apt-get install -y --no-install-recommends apt-utils
|
||||
maven \
|
||||
openjdk-11-jdk-headless \
|
||||
rsync \
|
||||
software-properties-common \
|
||||
sudo && \
|
||||
curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs && \
|
||||
npm install -g http-server@latest && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
apt-get autoremove --purge -y && apt-get autoclean
|
||||
|
||||
# Install Node
|
||||
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
|
||||
|
||||
# Java 11
|
||||
RUN apt-get install -y openjdk-11-jdk-headless
|
||||
|
||||
# Maven
|
||||
RUN apt-get install -y maven
|
||||
|
||||
# git
|
||||
RUN apt-get install -y git
|
||||
|
||||
# http-server
|
||||
RUN npm install -g http-server@latest
|
||||
|
||||
# sudo
|
||||
RUN apt-get -y install sudo
|
||||
|
||||
# ffmpeg (for ffprobe)
|
||||
RUN apt-get install -y ffmpeg
|
||||
|
||||
# docker
|
||||
# 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
|
||||
|
||||
# Cleanup
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get autoremove --purge -y && apt-get autoclean
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue