Skip to content

Instantly share code, notes, and snippets.

@justinjoy
Last active May 6, 2019 15:53
Show Gist options
  • Save justinjoy/df218013356815ad6e3d0211458a4214 to your computer and use it in GitHub Desktop.
Save justinjoy/df218013356815ad6e3d0211458a4214 to your computer and use it in GitHub Desktop.
Dockerfile for cerbero
FROM ubuntu:16.04
RUN \
sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list && \
sed -i "s/archive.ubuntu.com/kr.archive.ubuntu.com/g" /etc/apt/sources.list && \
dpkg --add-architecture i386 && \
apt-get update -q --fix-missing
RUN \
DEBIAN_FRONTEND=noninteractive apt-get -y build-dep \
orc \
gstreamer1.0 \
gst-plugins-base1.0 \
gst-plugins-good1.0 \
gst-plugins-bad1.0 \
gst-plugins-ugly1.0 \
gst-libav1.0 \
gst-rtsp-server1.0 \
gst-python1.0 \
gstreamer-vaapi \
gstreamer-editing-services1.0 \
vlc
RUN \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
ccache \
gdb \
tig \
xvfb \
wget \
g++-mingw-w64 \
gcc-mingw-w64 \
mingw-w64-common \
mingw-w64-tools \
yasm ragel ant default-jdk protobuf-compiler dos2unix \
wine64-development-tools zip p7zip nsis bzip2 \
libwine-development-dev \
qt4-dev-tools qt5-default git subversion cmake cvs \
lua5.2 libtool automake autoconf autopoint make gettext pkg-config \
vim gperf \
python3-pip \
fakeroot \
mono-devel \
ffmpeg \
libavcodec-dev \
mingw-w64-tools \
g++-mingw-w64-x86-64 \
sudo \
at dctrl-tools diffstat distro-info-data dput gcc-6-base:i386 hardening-includes libapt-inst2.0 libapt-pkg-perl libauthen-sasl-perl \
libcgi-fast-perl libcgi-pm-perl libclang1-3.6 libclass-accessor-perl libclone-perl libdata-alias-perl libdbus-glib-1-2 libdigest-hmac-perl \
libdistro-info-perl libemail-valid-perl libexporter-tiny-perl libfcgi-perl libfile-basedir-perl libgcc1:i386 libio-pty-perl \
libio-socket-inet6-perl libio-string-perl libipc-run-perl libipc-system-simple-perl liblist-moreutils-perl libllvm3.6v5 liblocale-gettext-perl \
libmailtools-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-smtp-ssl-perl libobjc-5-dev libobjc4 \
libparse-debianchangelog-perl libperlio-gzip-perl libsocket6-perl libsub-name-perl libtext-levenshtein-perl libtext-unidecode-perl \
libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libyaml-libyaml-perl lintian \
lsb-release patchutils python-apt-common python3-apt python3-chardet python3-debian python3-magic python3-six strace wdiff
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN useradd -ms /bin/bash -d /work worker
RUN echo worker:worker | chpasswd
RUN echo "worker ALL=NOPASSWD:ALL" >> /etc/sudoers
USER worker
WORKDIR /work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment