From 4152d77f798664ef0a5d320037cbe5aa131d8276 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 25 Oct 2016 13:33:49 +0200 Subject: [PATCH] Dockerfile: install required deps libjson-c3 --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dcd9914..17f4215 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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