zhupengfei 0a34282a90
Add libavcodec-dev, libavformat-dev and libswscale-dev
The install_package script is slightly changed to correctly handle the different version format (with a number followed by `:` in front of the version) and "or" dependencies (separated by `|` in dpkg info)
2019-01-27 09:13:58 +08:00

19 lines
889 B
Docker

FROM ubuntu:18.04
MAINTAINER citra
RUN useradd -m -s /bin/bash citra && mkdir -p /tmp/pkgs
COPY install_package.py /tmp/pkgs
RUN apt-get update && apt-get install -y build-essential wget git python-launchpadlib ccache
RUN cd /tmp/pkgs && python2 install_package.py \
libsdl2-dev 2.0.7+dfsg1-3ubuntu1 bionic \
qtbase5-dev 5.9.3+dfsg-0ubuntu2 bionic \
libqt5opengl5-dev 5.9.3+dfsg-0ubuntu2 bionic \
qt5-qmltooling-plugins 5.9.3-0ubuntu1 bionic \
qtdeclarative5-dev 5.9.3-0ubuntu1 bionic \
qtmultimedia5-dev 5.9.3-0ubuntu3 bionic \
libicu57 57.1-6ubuntu0.2 bionic \
cmake 3.10.2-1ubuntu2 bionic \
libavcodec-dev 7:3.4.4-0ubuntu0.18.04.1 bionic \
libavformat-dev 7:3.4.4-0ubuntu0.18.04.1 bionic \
libswscale-dev 7:3.4.4-0ubuntu0.18.04.1 bionic
RUN rm -rf /tmp/pkgs