Commit 178333f8 authored by Johannes Barthel's avatar Johannes Barthel
Browse files

add dockerfile

parent c659367e
Pipeline #5814 passed with stage
in 31 minutes and 36 seconds
FROM ubuntu:18.04
MAINTAINER ffdixon@bigbluebutton.org
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.15.0 bionic kms6"
# In order to update, use:
# docker build -t build-xenial .; docker rmi -f $(docker images --filter "dangling=true" -q)
# Tell debconf to run in non-interactive mode
ENV DEBIAN_FRONTEND noninteractive
RUN touch /tmp/a.txt
# Make sure the repository information is up to date
RUN apt-get update && apt-get install -y \
ca-certificates \
openssh-server \
wget \
vim \
apt-utils
#
# 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
# 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 \
lsb-release \
cdbs \
maven-debian-helper \
libmaven-assembly-plugin-java \
libmaven-compiler-plugin-java \
libfreemarker-java \
libgoogle-gson-java \
devscripts
# 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 \
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 \
subversion \
unixodbc \
unixodbc-dev \
uuid-dev \
wget \
yasm \
zlib1g-dev \
libavresample-dev \
libswscale-dev
RUN update-java-alternatives -s java-1.8.0-openjdk-amd64
# gradle/grails/sbt
ENV GRAILS_VERSION=4.0.5
ENV GRADLE_VERSION=5.6.4
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_14.x bionic main' > /etc/apt/sources.list.d/nodesource.list
RUN echo 'deb-src https://deb.nodesource.com/node_14.x bionic main' >> /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs
RUN curl https://install.meteor.com/?release=1.10.2 | sh
RUN npm install npm@6.14.11 -g
RUN apt-get install -y software-properties-common jq moreutils
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