FROM rustembedded/cross:x86_64-unknown-linux-gnu-0.2.1 RUN apt-get update && \ apt-get install python --assume-yes COPY openssl.sh / RUN bash /openssl.sh linux-x86_64 ENV OPENSSL_DIR=/openssl \ OPENSSL_INCLUDE_DIR=/openssl/include \ OPENSSL_LIB_DIR=/openssl/lib \ OPENSSL_STATIC=1