FROM i386/ubuntu:12.04 RUN apt-get update && \ apt-get install -y --no-install-recommends \ ca-certificates \ cmake \ gcc \ libc6-dev \ make \ pkg-config COPY xargo.sh / RUN bash /xargo.sh COPY cmake.sh / RUN apt-get purge --auto-remove -y cmake && \ bash /cmake.sh 2.8.11 COPY openssl.sh / RUN apt-get install -y --no-install-recommends \ g++-multilib && \ bash /openssl.sh linux-elf "" -m32 ENV OPENSSL_DIR=/openssl \ OPENSSL_INCLUDE_DIR=/openssl/include \ OPENSSL_LIB_DIR=/openssl/lib