FROM ubuntu:16.04 MAINTAINER herby RUN dpkg --add-architecture i386 RUN apt-get update -q RUN apt-get -qy --no-install-recommends install \ libx11-6:i386 \ libgl1-mesa-glx:i386 \ libfontconfig1:i386 \ libssl1.0.0:i386 \ libfreetype6:i386 \ libcurl3:i386 \ libsqlite3-0:i386 \ curl \ unzip RUN apt-get clean RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mkdir -p /opt/pharo &&\ cd /opt/pharo &&\ curl http://get.pharo.org/61+vm | bash &&\ ln -s \ `/sbin/ldconfig -p | grep -v x86-64 | sed -e 's|[^/]*||' | grep sqlite3` \ `find . -type f -name SqueakSSL.so -print0 | xargs -0 dirname`/sqlite3.so RUN echo "Pharo 32bit installed"