File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
5151 && sudo chmod +x mhsendmail_linux_amd64 \
5252 && sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
5353
54+ # Change security level to avoid `dh key too small` error
55+ RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf
56+
5457# Configure the gd library
5558RUN docker-php-ext-configure \
5659 gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
4949 && sudo chmod +x mhsendmail_linux_amd64 \
5050 && sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
5151
52+ # Change security level to avoid `dh key too small` error
53+ RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf
54+
5255# Configure the gd library
5356RUN docker-php-ext-configure \
5457 gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
4545 && sudo chmod +x mhsendmail_linux_amd64 \
4646 && sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
4747
48+ # Change security level to avoid `dh key too small` error
49+ RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf
50+
4851# Configure the gd library
4952RUN docker-php-ext-configure \
5053 gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
2424 && sudo chmod +x mhsendmail_linux_amd64 \
2525 && sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
2626
27+ # Change security level to avoid `dh key too small` error
28+ RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf
29+
2730# Configure the gd library
2831{%docker-php-ext-configure%}
2932
You can’t perform that action at this time.
0 commit comments