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
51
51
&& sudo chmod +x mhsendmail_linux_amd64 \
52
52
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
53
53
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
+
54
57
# Configure the gd library
55
58
RUN docker-php-ext-configure \
56
59
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
49
49
&& sudo chmod +x mhsendmail_linux_amd64 \
50
50
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
51
51
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
+
52
55
# Configure the gd library
53
56
RUN docker-php-ext-configure \
54
57
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
45
45
&& sudo chmod +x mhsendmail_linux_amd64 \
46
46
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
47
47
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
+
48
51
# Configure the gd library
49
52
RUN docker-php-ext-configure \
50
53
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
24
24
&& sudo chmod +x mhsendmail_linux_amd64 \
25
25
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
26
26
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
+
27
30
# Configure the gd library
28
31
{%docker-php-ext-configure%}
29
32
You can’t perform that action at this time.
0 commit comments