FROM mariadb:11-jammy RUN cd /root \ && apt-get update \ && apt-get install -y wget build-essential \ && wget https://www.openssl.org/source/openssl-3.0.0.tar.gz \ && tar zxpf openssl-3.0.0.tar.gz \ && cd openssl-3.0.0 \ && ./Configure enable-fips --prefix=/usr --openssldir=/usr/lib/ssl --libdir=lib/x86_64-linux-gnu \ && make install_fips \ && cd /root \ && rm -rf openssl-3.0.0 \ && rm openssl-3.0.0.tar.gz \ && apt-get remove -y build-essential \ && apt-get autoremove -y \ && apt-get clean COPY ./openssl.cnf /root/openssl.cnf RUN cp /root/openssl.cnf /etc/ssl/openssl.cnf