Merge pull request #5 from bagage/fix/libjson-c3

Dockerfile: install required deps libjson-c3 (fix #4)
This commit is contained in:
Andy 2016-10-25 15:41:41 +02:00 committed by GitHub
commit ba89095ff9

View File

@ -42,14 +42,16 @@ RUN echo "deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise stea
# Workaround missing lib in .local/share/Steam/ubuntu12_32/steamclient.so
RUN ln -sv libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
# Workaround: Ubuntu 16.04 doesn't have libgcrypt11, so we take it from trusty
# Required by Half-Life based games
# Workaround: Ubuntu 16.04 doesn't have libgcrypt11 nor libjson-c3, so we take
# then from trusty
# libcryptot11 is required by Half-Life based games
# TODO: use debian mirrors if possible?
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb /tmp/libgcrypt11_amd64.deb
ADD http://ftp.de.debian.org/debian/pool/main/j/json-c/libjson-c3_0.12.1-1_amd64.deb /tmp/libjson-c3_amd64.deb
RUN cd /tmp && \
dpkg -i libgcrypt11_*.deb && \
rm -f libgcrypt11_*.deb
dpkg -i *.deb && \
rm -f *.deb
# locale-gen: Generate locales based on /etc/locale.gen file