FROM debian LABEL Maintainer="Memiks " \ Description="Lightweight container with OpenSMTPD on Debian Linux." # Install packages RUN apt -qy update RUN apt-get install -qy \ build-essential linux-libc-dev \ autoconf automake autoconf bison libevent-dev libasr-dev cmake libtool pkg-config \ git curl gawk tar bzip2 ncompress xz-utils tree wget WORKDIR /tmp ENV LIBRESSLVERSION=libressl-3.0.2 RUN wget -O ${LIBRESSLVERSION}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${LIBRESSLVERSION}.tar.gz RUN tar xf ${LIBRESSLVERSION}.tar.gz RUN cd ${LIBRESSLVERSION} RUN ./configure --prefix=/usr/local/libressl --with-openssldir=/usr/local/libressl RUN make && make install # Override shell for bash-y debugging goodness SHELL ["/bin/bash", "-exc"] WORKDIR /tmp