25 lines
829 B
Docker
25 lines
829 B
Docker
FROM openjdk:11-jre-slim-bullseye
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
wget unzip gosu locales \
|
|
imagemagick xpdf-utils curl \
|
|
&& sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
|
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
# add user & group
|
|
RUN groupadd -g 998 bigbluebutton \
|
|
&& useradd -m -u 998 -g bigbluebutton bigbluebutton \
|
|
&& mkdir /etc/bigbluebutton \
|
|
&& chown bigbluebutton:bigbluebutton /etc/bigbluebutton
|
|
|
|
# add dockerize
|
|
ENV DOCKERIZE_VERSION v0.6.1
|
|
RUN wget -q https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
|
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
|
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
|
|
|
|