Commit 02b5d601 authored by Anton Georgiev's avatar Anton Georgiev
Browse files

WIP Ubuntu 20.04 focal

parent 0e016c95
Pipeline #6633 passed with stage
in 45 seconds
FROM ubuntu:18.04
MAINTAINER ffdixon@bigbluebutton.org
FROM ubuntu:20.04
LABEL authors="Fred Dixon, Anton Georgiev"
ARG CACHE_BUST=1
ARG KURENTO_APT_KEY="http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0xFC8A16625AFA7A83"
ARG KURENTO_APT_REPO="deb [arch=amd64] http://ubuntu.openvidu.io/6.16.0 bionic kms6"
# In order to update, use:
# docker build -t build-xenial .; docker rmi -f $(docker images --filter "dangling=true" -q)
# docker build -t build-focal .; docker rmi -f $(docker images --filter "dangling=true" -q)
# Tell debconf to run in non-interactive mode
ENV DEBIAN_FRONTEND noninteractive
......@@ -14,123 +12,144 @@ RUN touch /tmp/a.txt
# Make sure the repository information is up to date
RUN apt-get update && apt-get install -y \
apt-utils \
ca-certificates \
openssh-server \
wget \
vim \
apt-utils
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
#
# base
RUN apt-get install -y build-essential git-core checkinstall ruby-dev apt-transport-https lsb-release curl
#
# For BigBlueButton Dev
RUN apt-get -y install git-core ant openjdk-8-jdk
RUN gem install fpm --no-ri --no-rdoc
RUN apt-get update && apt-get install -y \
apt-transport-https \
build-essential \
checkinstall \
curl \
git-core \
lsb-release \
ruby-dev
# Build packages
RUN apt-get -y install --no-install-recommends \
curl \
wget \
git \
build-essential \
fakeroot \
debhelper \
subversion \
flex \
python \
python-apt \
python-debian \
python-git \
python-requests \
python-yaml \
python3-yaml \
lsb-release \
cdbs \
maven-debian-helper \
libmaven-assembly-plugin-java \
libmaven-compiler-plugin-java \
libfreemarker-java \
libgoogle-gson-java \
devscripts \
equivs
RUN apt-get update && apt-get -y install --no-install-recommends \
cdbs \
debhelper \
devscripts \
equivs \
fakeroot \
git \
openjdk-8-jdk \
libfreemarker-java \
libgoogle-gson-java \
libmaven-assembly-plugin-java \
libmaven-compiler-plugin-java \
libyaml-dev \
maven-debian-helper \
python \
python-apt \
python-debian \
python3-yaml \
subversion \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# ubuntu speciphic:
RUN apt-get update && apt-get install -y \
software-properties-common \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# For FreeSWITCH
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:bigbluebutton/support
RUN apt install -y build-essential autoconf automake libtool libncurses5 libncurses5-dev make libjpeg-dev pkg-config unixodbc zlib1g-dev sqlite3 libsqlite3-dev libpcre3-dev libspeexdsp-dev libedit-dev libsqlite3-dev libcurl4-openssl-dev libldns-dev libtool-bin
RUN apt-get install -y \
automake \
bison \
build-essential \
cmake \
gawk \
git-core \
groff \
groff-base \
liba52-0.7.4-dev \
libapr1-dev \
libasound2-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libcurl4-openssl-dev \
libdb-dev \
libedit-dev \
libexpat1-dev \
libgdbm-dev \
libgnutls28-dev \
libjpeg-dev \
libladspa-ocaml-dev \
libldns-dev \
liblua5.2-dev \
libmemcached-dev \
libmp3lame-dev \
libmp4v2-dev \
libncurses5 \
libncurses5-dev \
libogg-dev \
libopus-dev \
libopusfile-dev \
libopusenc-dev \
libpcre3-dev \
libperl-dev \
libpq-dev \
libpython-dev \
libsndfile-dev \
libsnmp-dev \
libspeex-dev \
libspeexdsp-dev \
libsqlite3-dev \
libssl-dev \
libtiff5-dev \
libtool \
libv8-dev \
libvlc-dev \
libvorbis-dev \
libx11-dev \
libyaml-dev \
make \
odbc-postgresql \
opus-tools \
openssl \
portaudio19-dev \
python-dev \
python3-pip \
subversion \
unixodbc \
unixodbc-dev \
uuid-dev \
wget \
yasm \
zlib1g-dev \
libavresample-dev \
libswscale-dev
RUN add-apt-repository -y ppa:bigbluebutton/support \
&& apt-get update \
&& apt-get install -y \
libopusenc-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt install -y \
autoconf \
automake \
libcurl4-openssl-dev \
libedit-dev \
libjpeg-dev \
libldns-dev \
libncurses5 \
libncurses5-dev \
libpcre3-dev \
libspeexdsp-dev \
libsqlite3-dev \
libtool \
libtool-bin \
make \
pkg-config \
sqlite3 \
unixodbc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y \
bison \
cmake \
gawk \
groff \
groff-base \
liba52-0.7.4-dev \
libapr1-dev \
libasound2-dev \
libavcodec-dev \
libavformat-dev \
libavresample-dev \
libavutil-dev \
libdb-dev \
libexpat1-dev \
libgdbm-dev \
libgnutls28-dev \
libladspa-ocaml-dev \
liblua5.2-dev \
libmemcached-dev \
libmp3lame-dev \
libogg-dev \
libopusfile-dev \
libperl-dev \
libpq-dev \
libsndfile-dev \
libsnmp-dev \
libspeex-dev \
libssl-dev \
libswscale-dev \
libtiff5-dev \
libv8-dev \
libvlc-dev \
libvorbis-dev \
libx11-dev \
odbc-postgresql \
openssl \
opus-tools \
portaudio19-dev \
python-dev \
python3-pip \
unixodbc-dev \
yasm \
jq \
moreutils \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN update-java-alternatives -s java-1.8.0-openjdk-amd64
# Added to build the HTML5 client
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get update && apt-get install -y nodejs
RUN curl https://install.meteor.com/?release=2.5 | sh
RUN npm install npm@8.4.1 -g
# had to drop params
RUN gem install fpm -f
# gradle/grails/sbt
ENV GRAILS_VERSION=4.0.5
ENV GRADLE_VERSION=5.6.4
......@@ -138,36 +157,26 @@ ENV SBT_VERSION=1.4.5
RUN mkdir tools
RUN cd tools
RUN wget --no-verbose https://github.com/grails/grails-core/releases/download/v${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip
RUN unzip -q grails-${GRAILS_VERSION}.zip
RUN ln -s ${PWD}/grails-${GRAILS_VERSION}/bin/grails /usr/bin/grails
RUN wget --no-verbose https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
RUN unzip -q gradle-${GRADLE_VERSION}-all.zip
RUN ln -s ${PWD}/gradle-${GRADLE_VERSION}/bin/gradle /usr/bin/gradle
RUN wget --no-verbose https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.zip
RUN unzip -q sbt-${SBT_VERSION}.zip
RUN ln -s ${PWD}/sbt/bin/sbt /usr/bin/sbt
RUN cd ..
#
# Added to build the HTML5 client
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN echo 'deb https://deb.nodesource.com/node_16.x bionic main' > /etc/apt/sources.list.d/nodesource.list
RUN echo 'deb-src https://deb.nodesource.com/node_16.x bionic main' >> /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs
RUN wget --no-verbose https://github.com/grails/grails-core/releases/download/v${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip \
&& unzip -q grails-${GRAILS_VERSION}.zip \
&& ln -s ${PWD}/grails-${GRAILS_VERSION}/bin/grails /usr/bin/grails \
&& rm -f grails-${GRAILS_VERSION}.zip
RUN curl https://install.meteor.com/?release=2.5 | sh
RUN npm install npm@8.4.1 -g
RUN wget --no-verbose https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip \
&& unzip -q gradle-${GRADLE_VERSION}-all.zip \
&& ln -s ${PWD}/gradle-${GRADLE_VERSION}/bin/gradle /usr/bin/gradle \
&& rm -f gradle-${GRADLE_VERSION}-all.zip
RUN apt-get install -y software-properties-common jq moreutils
RUN wget --no-verbose https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.zip \
&& unzip -q sbt-${SBT_VERSION}.zip \
&& ln -s ${PWD}/sbt/bin/sbt /usr/bin/sbt \
&& rm -f sbt-${SBT_VERSION}.zip
RUN cd ..
ENV GRAILS_HOME /tools/grails/grails-${GRAILS_VERSION}
ENV GRADLE_HOME /tools/gradle-${GRADLE_VERSION}
#ENV FLEX_HOME /root/dev/tools/flex
ENV SBT_HOME /tools/sbt
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
ENV ANT_OPTS "-Xmx512m -XX:MaxPermSize=512m"
#ENV MAVEN_HOME /root/dev/tools/maven
# ENV PATH $PATH:$GRAILS_HOME/bin:$GRADLE_HOME/bin:$FLEX_HOME/bin:$SBT_HOME/bin:$MAVEN_HOME/bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment